|
|
@@ -140,7 +140,7 @@ class PasswordableBehaviorTest extends TestCase {
|
|
|
$this->Users->patchEntity($user, $data);
|
|
|
$is = $this->Users->save($user);
|
|
|
$this->assertTrue((bool)$is);
|
|
|
- $this->assertEquals(['name', 'id'], $is->visibleProperties());
|
|
|
+ $this->assertEquals(['name', 'created', 'modified', 'id'], $is->visibleProperties());
|
|
|
|
|
|
$id = $user->id;
|
|
|
$user = $this->Users->newEntity();
|
|
|
@@ -152,7 +152,7 @@ class PasswordableBehaviorTest extends TestCase {
|
|
|
$this->Users->patchEntity($user, $data);
|
|
|
$is = $this->Users->save($user);
|
|
|
$this->assertTrue((bool)$is);
|
|
|
- $this->assertEquals(['id'], $is->visibleProperties());
|
|
|
+ $this->assertEquals(['id', 'modified'], $is->visibleProperties());
|
|
|
}
|
|
|
|
|
|
/**
|