Merge pull request #255 from adamgsoc2013/UT_PMA_Footer_test
add test case for PMA_Footer_test.php
This commit is contained in:
commit
c43719f44c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user