Skip to content

Commit

Permalink
32330 assertObjectHasAttribute removed in PHPUnit 10 (#472)
Browse files Browse the repository at this point in the history
* update unit test
  • Loading branch information
dai-eastgate authored Mar 23, 2023
1 parent b12568b commit 1235337
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/TestClassBooleanValueToFieldList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'});
}

Expand Down

0 comments on commit 1235337

Please sign in to comment.