diff --git a/tests/TestCase/ORM/TableTest.php b/tests/TestCase/ORM/TableTest.php index cb9f970c995..8a96c30f5f5 100644 --- a/tests/TestCase/ORM/TableTest.php +++ b/tests/TestCase/ORM/TableTest.php @@ -5328,7 +5328,7 @@ public function testGetNotFoundException() /** * Test that an exception is raised when there are not enough keys. * - * @expectedException Cake\Datasource\Exception\InvalidPrimaryKeyException + * @expectedException \Cake\Datasource\Exception\InvalidPrimaryKeyException * @expectedExceptionMessage Record not found in table "articles" with primary key [NULL] * @return void */ @@ -5345,7 +5345,7 @@ public function testGetExceptionOnNoData() /** * Test that an exception is raised when there are too many keys. * - * @expectedException Cake\Datasource\Exception\InvalidPrimaryKeyException + * @expectedException \Cake\Datasource\Exception\InvalidPrimaryKeyException * @expectedExceptionMessage Record not found in table "articles" with primary key [1, 'two'] * @return void */