diff --git a/tests/TestClassBooleanValueToFieldList.php b/tests/TestClassBooleanValueToFieldList.php index acf585ff5..7828731a0 100644 --- a/tests/TestClassBooleanValueToFieldList.php +++ b/tests/TestClassBooleanValueToFieldList.php @@ -92,7 +92,8 @@ public function testFillCheckboxUnset() // test unset $pBooleanValueToFieldList->fillCheckboxValues (InputModelDBFactoryConfigEstate::INPUT_FIELD_FILTERABLE); - $this->assertObjectHasAttribute('oopluginfieldconfig-filterable', $pValues); + $this->assertIsObject($pValues); + $this->assertTrue(property_exists($pValues, 'oopluginfieldconfig-filterable')); $this->assertEquals([], $pValues->{'oopluginfieldconfig-filterable'}); }