Browse Source

remove unnecessary test after removing passedArgs

saeideng 8 years ago
parent
commit
dc36aee3d1
1 changed files with 0 additions and 13 deletions
  1. 0 13
      tests/TestCase/View/ViewVarsTraitTest.php

+ 0 - 13
tests/TestCase/View/ViewVarsTraitTest.php

@@ -180,19 +180,6 @@ class ViewVarsTraitTest extends TestCase
     }
 
     /**
-     * test that removed deprecated passedArgs is no longer passed to the view
-     *
-     * @return void
-     */
-    public function testViewOptionsGetsToBuilder()
-    {
-        $this->subject->passedArgs = 'test';
-        $this->subject->createView();
-        $result = $this->subject->viewBuilder()->getOptions();
-        $this->assertEmpty($result);
-    }
-
-    /**
      * test that parameters beats viewBuilder() and viewClass
      *
      * @return void