Replace instance_of asserts in integration tests

[MAILPOET-4258]
This commit is contained in:
David Remer
2022-11-24 14:55:16 +02:00
committed by Jan Lysý
parent 2557171953
commit d2ec7bba42
69 changed files with 406 additions and 402 deletions

View File

@@ -71,7 +71,7 @@ class UserFlagsControllerTest extends \MailPoetTest {
'userId' => $this->currentUserId,
'name' => 'flag_1',
]);
assert($flag instanceof UserFlagEntity);
$this->assertInstanceOf(UserFlagEntity::class, $flag);
expect($flag->getValue())->equals('updated_value');
}