File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function testGetPattern()
66
66
public function testResourceDoesNotExist ()
67
67
{
68
68
$ this ->expectException ('InvalidArgumentException ' );
69
- $ this ->expectExceptionMessageRegExp ('/The directory ".*" does not exist./ ' );
69
+ $ this ->expectExceptionMessageMatches ('/The directory ".*" does not exist./ ' );
70
70
new DirectoryResource ('/____foo/foobar ' .mt_rand (1 , 999999 ));
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function testToString()
56
56
public function testResourceDoesNotExist ()
57
57
{
58
58
$ this ->expectException ('InvalidArgumentException ' );
59
- $ this ->expectExceptionMessageRegExp ('/The file ".*" does not exist./ ' );
59
+ $ this ->expectExceptionMessageMatches ('/The file ".*" does not exist./ ' );
60
60
new FileResource ('/____foo/foobar ' .mt_rand (1 , 999999 ));
61
61
}
62
62
You can’t perform that action at this time.
0 commit comments