Skip to content

Commit

Permalink
Using an assertion in StringTemplateTraitTest to check if the returne…
Browse files Browse the repository at this point in the history
…d object is of type StringTemplate
  • Loading branch information
Florian Krämer committed Dec 25, 2013
1 parent 594fec0 commit b66e64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cake/Test/TestCase/View/Helper/StringTemplateTraitTest.php
Expand Up @@ -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.