From b5af760268ef2eb0264b2db788b69ccf2406801d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 18 Sep 2012 15:55:28 +0200 Subject: [PATCH] Check that we always get supported object --- test/libraries/sysinfo_test.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/libraries/sysinfo_test.php b/test/libraries/sysinfo_test.php index 9dc14c77b043..3476adc8740c 100644 --- a/test/libraries/sysinfo_test.php +++ b/test/libraries/sysinfo_test.php @@ -48,4 +48,13 @@ public function sysInfoOsProvider() ); } + /** + * Test for getting sysinfo object. + * + * @return void + */ + public function testGetSysInfo() + { + $this->assertTrue(PMA_getSysInfo()->supported()); + } }