From 5e1feb5870dbd44095e355126322f7d248803ba6 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Thu, 16 Mar 2017 07:26:57 +1100 Subject: [PATCH] Fixes unit tests Further to previous commit moved Cms\Classes\ViewBag to components directory --- tests/unit/cms/classes/CmsCompoundObjectTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/cms/classes/CmsCompoundObjectTest.php b/tests/unit/cms/classes/CmsCompoundObjectTest.php index 875a44c1f..a84ae9519 100644 --- a/tests/unit/cms/classes/CmsCompoundObjectTest.php +++ b/tests/unit/cms/classes/CmsCompoundObjectTest.php @@ -269,7 +269,7 @@ class CmsCompoundObjectTest extends TestCase $properties = $viewBag->getProperties(); $this->assertCount(1, $properties); $this->assertEquals($obj->viewBag, $properties); - $this->assertInstanceOf('Cms\Classes\ViewBag', $viewBag); + $this->assertInstanceOf('Cms\Components\ViewBag', $viewBag); $this->assertArrayHasKey('title', $properties); $this->assertEquals('Toxicity', $properties['title']); } @@ -281,7 +281,7 @@ class CmsCompoundObjectTest extends TestCase $obj = TestParsedCmsCompoundObject::load($theme, 'compound.htm'); $viewBag = $obj->getViewBag(); - $this->assertInstanceOf('Cms\Classes\ViewBag', $viewBag); + $this->assertInstanceOf('Cms\Components\ViewBag', $viewBag); $properties = $viewBag->getProperties(); $this->assertEmpty($properties); $this->assertEquals($obj->viewBag, $properties);