public/phpmyadmin/test/classes/Setup/IndexTest.php
/**
     * Test for SetupIndex::messagesEnd
     *
     * @return void
     */
Test for SetupIndex::messagesEnd
@return void
Test for SetupIndex :: messagesEnd @return void
public function testPMAmessagesEnd()
    {
        $_SESSION['messages'] = array(
            array(
                array('msg' => 'foo', 'active' => false),
                array('msg' => 'bar', 'active' => true),
            )
        );
        SetupIndex::messagesEnd();
        $this->assertEquals(
            array(
                array(
                    '1' => array(
                        'msg' => 'bar',
                        'active' => 1
                    )
                )
            ),
            $_SESSION['messages']
        );
    }
public function testPMAmessagesEnd ( ) { $ _SESSION [ 'messages' ] = array ( array ( array ( 'msg' => 'foo' , 'active' => false ) , array ( 'msg' => 'bar' , 'active' => true ) , ) ) ; SetupIndex :: messagesEnd ( ) ; $ this -> assertEquals ( array ( array ( '1' => array ( 'msg' => 'bar' , 'active' => 1 ) ) ) , $ _SESSION [ 'messages' ] ) ; }
Test for SetupIndex::messagesEnd
 @return void
Test for SetupIndex :: messagesEnd @return void