Make sure we just check for the keys
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
d690f90928
commit
48679ae39f
|
@ -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()));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue