Browse Source

Merge pull request #13733 from detinkin/patch-1

Removed dublicate array key
ADmad 6 years ago
parent
commit
e260006abf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/View/ViewBuilderTest.php

+ 1 - 1
tests/TestCase/View/ViewBuilderTest.php

@@ -43,7 +43,7 @@ class ViewBuilderTest extends TestCase
         $update = ['test' => 'updated'];
         $builder->setVars($update);
         $this->assertEquals(
-            ['test' => 'val', 'foo' => 'bar', 'test' => 'updated'],
+            ['foo' => 'bar', 'test' => 'updated'],
             $builder->getVars()
         );