File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ public function testCastTimestamp()
429429 public function testCastTimestampException ()
430430 {
431431 $ this ->expectException (CastException::class);
432- $ this ->expectErrorMessage ('Type casting "timestamp" expects a correct timestamp. ' );
432+ $ this ->expectExceptionMessage ('Type casting "timestamp" expects a correct timestamp. ' );
433433
434434 $ entity = $ this ->getCastEntity ();
435435 $ entity ->ninth = 'some string ' ;
@@ -725,7 +725,7 @@ public function testCustomCast()
725725 public function testCustomCastException ()
726726 {
727727 $ this ->expectException (CastException::class);
728- $ this ->expectErrorMessage ('The "Tests\Support\Entity\Cast\NotExtendsBaseCast" class must inherit the "CodeIgniter\Entity\Cast\BaseCast" class ' );
728+ $ this ->expectExceptionMessage ('The "Tests\Support\Entity\Cast\NotExtendsBaseCast" class must inherit the "CodeIgniter\Entity\Cast\BaseCast" class ' );
729729
730730 $ entity = $ this ->getCustomCastEntity ();
731731
You can’t perform that action at this time.
0 commit comments