Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed Feb 10, 2015
1 parent f9de012 commit 6b02321
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/ORM/TableRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,6 @@ public static function remove($alias)
static::$_fallbacked[$alias]
);
}

public static function keys() { return array_keys(static::$_instances); }
}
3 changes: 2 additions & 1 deletion tests/TestCase/ORM/AssociationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ public function testTargetPlugin()
'sourceTable' => $this->source,
'joinType' => 'INNER'
];
$this->association = $this->getMock('\Cake\ORM\Association',
$this->association = $this->getMock(
'\Cake\ORM\Association',
[
'_options', 'attachTo', '_joinCondition', 'cascadeDelete', 'isOwningSide',
'saveAssociated', 'eagerLoader', 'type'
Expand Down

0 comments on commit 6b02321

Please sign in to comment.