Skip to content
Permalink
Browse files

Update namespaces missed in previous commit.

  • Loading branch information...
ADmad committed Aug 30, 2014
1 parent 6f0bad0 commit 4ae598d26140390b9853029f1ee3ecf724072449
Showing with 4 additions and 4 deletions.
  1. +1 −1 src/View/HelperRegistry.php
  2. +3 −3 tests/TestCase/View/ViewTest.php
@@ -61,7 +61,7 @@ public function __isset($helper) {
try {
$this->load($helper);
} catch (Error\MissingHelperException $exception) {
} catch (Exception\MissingHelperException $exception) {
if ($this->_View->plugin) {
$this->load($this->_View->plugin . '.' . $helper);
return true;
@@ -543,7 +543,7 @@ public function testGetViewFileNames() {
/**
* Test that getViewFileName() protects against malicious directory traversal.
*
* @expectedException Cake\Core\Exception\Exception
* @expectedException \InvalidArgumentException
* @return void
*/
public function testGetViewFileNameDirectoryTraversal() {
@@ -642,7 +642,7 @@ public function testGetLayoutFileNamePrefix() {
/**
* Test that getLayoutFileName() protects against malicious directory traversal.
*
* @expectedException Cake\Core\Exception\Exception
* @expectedException \InvalidArgumentException
* @return void
*/
public function testGetLayoutFileNameDirectoryTraversal() {
@@ -1479,7 +1479,7 @@ public function testStartBlocksTwice() {
* Test that an exception gets thrown when you leave a block open at the end
* of a view.
*
* @expectedException \Cake\Core\Exception\Exception
* @expectedException \LogicException
* @return void
*/
public function testExceptionOnOpenBlock() {

0 comments on commit 4ae598d

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