Skip to content
Permalink
Browse files

Removing unneded typecasting

  • Loading branch information...
lorenzo committed May 4, 2013
1 parent d511793 commit 19b14d6ac5d732b487221705adc4bc4ab4f21ee2
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/Cake/Test/TestCase/ORM/QueryTest.php
@@ -291,25 +291,25 @@ public function testContainResultFetchingOneLevel() {
$expected = [
[
'article' => [
'id' => (int) 1,
'id' => 1,
'title' => 'a title',
'body' => 'a body',
'author_id' => (int) 1
'author_id' => 1
],
'author' => [
'id' => (int) 1,
'id' => 1,
'name' => 'Chuck Norris'
]
],
[
'article' => [
'id' => (int) 2,
'id' => 2,
'title' => 'another title',
'body' => 'another body',
'author_id' => (int) 2
'author_id' => 2
],
'author' => [
'id' => (int) 2,
'id' => 2,
'name' => 'Bruce Lee'
]
]

0 comments on commit 19b14d6

Please sign in to comment.
You can’t perform that action at this time.