From 14e464c2566229490cc1607ce802b244521e7e0c Mon Sep 17 00:00:00 2001 From: adamgsoc2013 Date: Mon, 6 May 2013 23:48:59 +0800 Subject: [PATCH] add PMA_Form_test for class config/From --- test/classes/config/PMA_Form_test.php | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 test/classes/config/PMA_Form_test.php diff --git a/test/classes/config/PMA_Form_test.php b/test/classes/config/PMA_Form_test.php new file mode 100644 index 0000000000..4cb107e0c1 --- /dev/null +++ b/test/classes/config/PMA_Form_test.php @@ -0,0 +1,33 @@ +assertEquals( + 1, + $form->index + ); + $this->assertEquals( + 'pma_form_name', + $form->name + ); + $this->assertArrayHasKey( + 'pma_form1', + $form->fields + ); + } +} +?>