Skip to content

Commit

Permalink
Fixing exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 21, 2013
1 parent c1c63d6 commit 4db5c77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cake/ORM/Table.php
Expand Up @@ -826,7 +826,7 @@ public function get($primaryKey, $options = []) {
throw new RecordNotFoundException(__d(
'cake_dev', 'Record "%s" not found in table "%s"',
implode(',', (array)$primaryKey),
$this->alias()
$this->table()
));
}

Expand Down
2 changes: 1 addition & 1 deletion Cake/Test/TestCase/ORM/TableTest.php
Expand Up @@ -3020,7 +3020,7 @@ public function testGetException() {
['callFinder', '_buildQuery'],
[[
'connection' => $this->connection,
'alias' => 'articles',
'table' => 'articles',
'schema' => [
'id' => ['type' => 'integer'],
'bar' => ['type' => 'integer'],
Expand Down

0 comments on commit 4db5c77

Please sign in to comment.