Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix failing tests.

associated was renamed to associations.
  • Loading branch information...
commit 83a54a91249e0eb3f81bd45bf5564e6f459753a5 1 parent d82dc8c
@markstory markstory authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/ORM/Table.php
  2. +1 −1  tests/TestCase/ORM/TableTest.php
View
2  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
View
2  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'
Please sign in to comment.
Something went wrong with that request. Please try again.