Merge pull request #255 from adamgsoc2013/UT_PMA_Footer_test

add test case for PMA_Footer_test.php
This commit is contained in:
Michal Čihař 2013-04-16 00:00:08 -07:00
commit c43719f44c

View File

@ -201,6 +201,20 @@ class PMA_Footer_Test extends PHPUnit_Framework_TestCase
$footer->getDisplay()
);
}
/**
* Test for footer get Scripts
*
* @return void
*/
public function testGetScripts()
{
$footer = new PMA_Footer();
$this->assertContains(
'<script type="text/javascript">',
$footer->getScripts()->getDisplay()
);
}
/**
* Test for displaying footer