Make sure we just check for the keys

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-11-27 16:55:55 +01:00
parent d690f90928
commit 48679ae39f
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 5 additions and 5 deletions

View File

@ -123,7 +123,7 @@ class EntityTest extends \Test\TestCase {
public function testSetterMarksFieldUpdated() {
$this->entity->setId(3);
$this->assertContains('id', $this->entity->getUpdatedFields());
$this->assertContains('id', array_keys($this->entity->getUpdatedFields()));
}