euromark 11 years ago
parent
commit
2b33a59557
1 changed files with 1 additions and 2 deletions
  1. 1 2
      tests/TestCase/View/ViewVarsTraitTest.php

+ 1 - 2
tests/TestCase/View/ViewVarsTraitTest.php

@@ -64,9 +64,8 @@ class ViewVarsTraitTest extends TestCase {
  * @return void
  */
 	public function testSetChained() {
-		$result = $this->subject->set('testing', 'value')
+		$this->subject->set('testing', 'value')
 			->set('foo', 'bar');
-		$this->assertInstanceOf('Cake\View\ViewVarsTrait', $result);
 		$this->assertEquals(['testing' => 'value', 'foo' => 'bar'], $this->subject->viewVars);
 	}