File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function testThrowsExceptionIfTheProvidedSpiderClassDoesNotExist(): void
37
37
$ resolver = new StaticNamespaceResolver ();
38
38
39
39
$ this ->expectException (InvalidSpiderException::class);
40
- $ this ->expectErrorMessage ('The spider class ::spider-class:: does not exist ' );
40
+ $ this ->expectExceptionMessage ('The spider class ::spider-class:: does not exist ' );
41
41
42
42
$ resolver ->resolveSpiderNamespace ('::spider-class:: ' );
43
43
}
@@ -47,7 +47,7 @@ public function testThrowsExceptionIfTheProvidedClassIsNotASpider(): void
47
47
$ resolver = new StaticNamespaceResolver ();
48
48
49
49
$ this ->expectException (InvalidSpiderException::class);
50
- $ this ->expectErrorMessage (\sprintf ('The class %s is not a spider ' , RequestSpiderMiddleware::class));
50
+ $ this ->expectExceptionMessage (\sprintf ('The class %s is not a spider ' , RequestSpiderMiddleware::class));
51
51
52
52
$ resolver ->resolveSpiderNamespace (RequestSpiderMiddleware::class);
53
53
}
You can’t perform that action at this time.
0 commit comments