diff --git a/test/php/library/Icinga/Protocol/Livestatus/ConnectionTest.php b/test/php/library/Icinga/Protocol/Livestatus/ConnectionTest.php index 7d2660fd6..58ecbef9c 100755 --- a/test/php/library/Icinga/Protocol/Livestatus/ConnectionTest.php +++ b/test/php/library/Icinga/Protocol/Livestatus/ConnectionTest.php @@ -1,13 +1,21 @@ markTestIncomplete('testSelect is not implemented yet'); + $socket = tempnam(sys_get_temp_dir(), 'IcingaTest'); + $connection = new Connection($socket); + $this->assertTrue($connection->select() instanceof Query); + unlink($socket); } /** diff --git a/test/php/library/Icinga/Protocol/Livestatus/QueryTest.php b/test/php/library/Icinga/Protocol/Livestatus/QueryTest.php index 2df606b2a..020396ebc 100755 --- a/test/php/library/Icinga/Protocol/Livestatus/QueryTest.php +++ b/test/php/library/Icinga/Protocol/Livestatus/QueryTest.php @@ -1,13 +1,22 @@