From 41ed5871ddae4031c20cc8dac7bdcf8f65234a9a Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 14 Oct 2014 09:47:59 +0530 Subject: [PATCH] Fix incorrect variable name. --- tests/TestCase/View/ViewVarsTraitTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase/View/ViewVarsTraitTest.php b/tests/TestCase/View/ViewVarsTraitTest.php index b7f6294e30c..25420ef8c1d 100644 --- a/tests/TestCase/View/ViewVarsTraitTest.php +++ b/tests/TestCase/View/ViewVarsTraitTest.php @@ -133,7 +133,7 @@ public function testUndefinedValidViewOptions() { $result = $this->subject->viewOptions(); $this->assertTrue(is_array($result)); - $this->assertTrue(empty($resulit)); + $this->assertTrue(empty($result)); } }