Browse Source

Test the hasErrors debug information

Joshua Lückers 7 years ago
parent
commit
3dea5f941c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/TestCase/ORM/EntityTest.php

+ 1 - 0
tests/TestCase/ORM/EntityTest.php

@@ -1523,6 +1523,7 @@ class EntityTest extends TestCase
             '[dirty]' => ['somethingElse' => true, 'foo' => true],
             '[original]' => [],
             '[virtual]' => ['baz'],
+            '[hasErrors]' => true,
             '[errors]' => ['foo' => ['An error']],
             '[invalid]' => ['foo' => 'a value'],
             '[repository]' => 'foos'