Browse Source

Updated test to pass

Eugene Ritter 8 years ago
parent
commit
8782db5f79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Collection/CollectionTest.php

+ 1 - 1
tests/TestCase/Collection/CollectionTest.php

@@ -1171,7 +1171,7 @@ class CollectionTest extends TestCase
     {
         $collection = new Collection([1, 2, 3]);
         $combined = $collection->prepend(['a']);
-        $this->assertEquals(['a', 1, 2, 3], $combined->toArray());
+        $this->assertEquals(['a', 1, 2, 3], $combined->toList());
 
         $collection = new Collection(['c' => 3, 'd' => 4]);
         $combined = $collection->prepend(['a' => 1, 'b' => 2]);