Skip to content
Permalink
Browse files

Remove failing test.

I screwed up a merge conflict.
  • Loading branch information...
markstory committed Sep 29, 2016
1 parent 095710f commit 7c593cbf4dea40f87d9bd2bfa65e56c9ae7f19be
Showing with 0 additions and 13 deletions.
  1. +0 −13 tests/TestCase/Collection/CollectionTest.php
@@ -2013,17 +2013,4 @@ public function testTransposeUnEvenLengthShouldThrowException()
$collection->transpose();
}
/**
* Tests the chunk method with preserved keys
*
* @return void
*/
public function testChunkPreserveKeys()
{
$collection = new Collection(['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5, 'f' => 6, 'g' => 7]);
$chunked = $collection->chunk(2, true)->toList();
$expected = [['a' => 1, 'b' => 2], ['c' => 3, 'd' => 4], ['e' => 5, 'f' => 6], ['g' => 7]];
$this->assertEquals($expected, $chunked);
}
}

0 comments on commit 7c593cb

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