From 83a54a91249e0eb3f81bd45bf5564e6f459753a5 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 10 Mar 2014 10:13:04 -0400 Subject: [PATCH] Fix failing tests. associated was renamed to associations. --- src/ORM/Table.php | 2 +- tests/TestCase/ORM/TableTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ORM/Table.php b/src/ORM/Table.php index 8c71cb83031..45bf4a32cf5 100644 --- a/src/ORM/Table.php +++ b/src/ORM/Table.php @@ -1752,7 +1752,7 @@ public function __debugInfo() { 'table' => $this->table(), 'alias' => $this->alias(), 'entityClass' => $this->entityClass(), - 'associated' => $this->_associated->keys(), + 'associations' => $this->_associations->keys(), 'behaviors' => $this->_behaviors->loaded(), 'defaultConnection' => $this->defaultConnectionName(), 'connectionName' => $conn ? $conn->configName() : null diff --git a/tests/TestCase/ORM/TableTest.php b/tests/TestCase/ORM/TableTest.php index 19cfc8227a2..f2969f3a3db 100644 --- a/tests/TestCase/ORM/TableTest.php +++ b/tests/TestCase/ORM/TableTest.php @@ -3256,7 +3256,7 @@ public function testDebugInfo() { 'table' => 'articles', 'alias' => 'articles', 'entityClass' => 'TestApp\Model\Entity\Article', - 'associated' => ['authors', 'tags', 'articlestags'], + 'associations' => ['authors', 'tags', 'articlestags'], 'behaviors' => ['Timestamp'], 'defaultConnection' => 'default', 'connectionName' => 'test'