From fd220fb9ae79ed7107c67df18008e45e52522030 Mon Sep 17 00:00:00 2001 From: adamgsoc2013 Date: Tue, 16 Apr 2013 13:40:52 +0800 Subject: [PATCH] add test case for PMA_Footer_test.php - add testGetScripts --- test/classes/PMA_Footer_test.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/classes/PMA_Footer_test.php b/test/classes/PMA_Footer_test.php index 2a18bfcb79..efe5ffe3be 100644 --- a/test/classes/PMA_Footer_test.php +++ b/test/classes/PMA_Footer_test.php @@ -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( + '