diff --git a/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php b/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php index 0588304da9b..22782ee1b45 100644 --- a/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php +++ b/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php @@ -834,7 +834,11 @@ public function testGetAssociationNotDirtyBelongsTo() $authors->setLocale('eng'); - $entity = $table->get(1); + try { + $entity = $table->get(1); + } catch (\Cake\Datasource\Exception\RecordNotFoundException $e) { + var_dump($table->find('all')->all()->toArray()); + } $this->assertNotEmpty($entity); $entity = $table->loadInto($entity, ['Authors']); $this->assertFalse($entity->isDirty());