Skip to content
Permalink
Browse files

Using an assertion in StringTemplateTraitTest to check if the returne…

…d object is of type StringTemplate
  • Loading branch information...
burzum committed Dec 25, 2013
1 parent 594fec0 commit b66e64ae33d9370cf59f3fe9b142850ab638d438
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cake/Test/TestCase/View/Helper/StringTemplateTraitTest.php
@@ -78,7 +78,7 @@ public function testGetTemplater() {
];
$this->Template->initStringTemplates($templates);
$result = $this->Template->getTemplater();
$this->assertTrue(is_a($result, '\Cake\View\StringTemplate'));
$this->assertInstanceOf('\Cake\View\StringTemplate', $result);
}
}

0 comments on commit b66e64a

Please sign in to comment.
You can’t perform that action at this time.