Skip to content
Permalink
Browse files

Removed test that was failing. Looks like it's in master but not 3.next.

  • Loading branch information...
T0mats0 committed Mar 7, 2018
1 parent e68521d commit d09f978010cab4a7de8baaffffa35993bee97ec1
Showing with 0 additions and 21 deletions.
  1. +0 −21 tests/TestCase/ORM/QueryTest.php
@@ -3563,27 +3563,6 @@ public function testNotMatchingNested()
$this->assertSame($expected, $results->first());
}
/**
* Test that type conversion is only applied once.
*
* @return void
*/
public function testAllNoDuplicateTypeCasting()
{
$table = $this->getTableLocator()->get('Comments');
$query = $table->find()
->select(['id', 'comment', 'created']);
// Convert to an array and make the query dirty again.
$result = $query->all()->toArray();
$query->limit(99);
// Get results a second time.
$result2 = $query->all()->toArray();
$this->assertEquals(1, $query->__debugInfo()['decorators'], 'Only one typecaster should exist');
}
/**
* Test to see that the excluded fields are not in the select clause
*

0 comments on commit d09f978

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