diff --git a/tests/php-unit-tests/unitary-tests/core/DBObject/DBObjectSetTest.php b/tests/php-unit-tests/unitary-tests/core/DBObject/DBObjectSetTest.php index 2a74b6908..42e77f5bb 100644 --- a/tests/php-unit-tests/unitary-tests/core/DBObject/DBObjectSetTest.php +++ b/tests/php-unit-tests/unitary-tests/core/DBObject/DBObjectSetTest.php @@ -73,9 +73,8 @@ class DBObjectSetTest extends ItopDataTestCase $oDBObjectSetComparator = new DBObjectSetComparator($DBObjectSet1, $DBObjectSet3); $this->assertTrue($oDBObjectSetComparator->SetsAreEquivalent()); - $oDBObjectSetComparator = new DBObjectSetComparator($DBObjectSet1, new DBObjectSet($oSearch)); $this->expectExceptionMessage($sMsg, "should call DB again this time"); $this->assertTrue($oDBObjectSetComparator->SetsAreEquivalent()); } -} \ No newline at end of file +}