Browse Source

Clean up class names

Mark Story 7 years ago
parent
commit
0a72db4d0e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Error/ErrorHandlerTest.php

+ 2 - 2
tests/TestCase/Error/ErrorHandlerTest.php

@@ -358,8 +358,8 @@ class ErrorHandlerTest extends TestCase
             'trace' => true,
         ]);
 
-        $previous = new \Cake\Datasource\Exception\RecordNotFoundException('Previous logged');
-        $error = new \Cake\Http\Exception\NotFoundException('Kaboom!', null, $previous);
+        $previous = new RecordNotFoundException('Previous logged');
+        $error = new NotFoundException('Kaboom!', null, $previous);
 
         $this->_logger->expects($this->at(0))
             ->method('log')