Browse Source

Revert "Add test for append()"

This reverts commit 0a9a0de562e90e24815389427b482ec323002822, as
this test fails on PHP7.1.9
mark_story 8 years ago
parent
commit
13738b6073
1 changed files with 0 additions and 5 deletions
  1. 0 5
      tests/TestCase/Collection/CollectionTest.php

+ 0 - 5
tests/TestCase/Collection/CollectionTest.php

@@ -1112,11 +1112,6 @@ class CollectionTest extends TestCase
         $collection = new Collection(['a' => 1, 'b' => 2]);
         $combined = $collection->append(['c' => 3, 'a' => 4]);
         $this->assertEquals(['a' => 4, 'b' => 2, 'c' => 3], $combined->toArray());
-
-        $collection = new Collection([1, 2]);
-        $collection = $collection->append([3, 4]);
-        $combined = $collection->append([5, 6]);
-        $this->assertEquals([1, 2, 3, 4, 5, 6], $combined->toList());
     }
 
     /**