summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_application.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_php_application.py')
-rw-r--r--test/test_php_application.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/test_php_application.py b/test/test_php_application.py
index d614885c..837181e6 100644
--- a/test/test_php_application.py
+++ b/test/test_php_application.py
@@ -500,7 +500,17 @@ class TestPHPApplication(TestApplicationPHP):
), 'configure index default'
)
- self.assertEqual(self.get()['status'], 200, 'status')
+ resp = self.get()
+
+ self.assertEqual(resp['status'], 200, 'status')
+ self.assertNotEqual(resp['body'], '', 'body not empty')
+
+ def test_php_application_extension_check(self):
+ self.load('phpinfo')
+
+ self.assertNotEqual(
+ self.get(url='/index.wrong')['status'], 200, 'status'
+ )
if __name__ == '__main__':
TestPHPApplication.main()