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 @@ -34,7 +34,7 @@ protected function getStore(): PersistingStoreInterface
3434
3535 public function testConstructWhenRepositoryCannotBeCreated ()
3636 {
37- $ this ->expectException (' Symfony\Component\Lock\Exception\InvalidArgumentException ' );
37+ $ this ->expectException (\ Symfony \Component \Lock \Exception \InvalidArgumentException::class );
3838 $ this ->expectExceptionMessage ('The FlockStore directory "/a/b/c/d/e" does not exists and cannot be created. ' );
3939 if (!getenv ('USER ' ) || 'root ' === getenv ('USER ' )) {
4040 $ this ->markTestSkipped ('This test will fail if run under superuser ' );
@@ -45,7 +45,7 @@ public function testConstructWhenRepositoryCannotBeCreated()
4545
4646 public function testConstructWhenRepositoryIsNotWriteable ()
4747 {
48- $ this ->expectException (' Symfony\Component\Lock\Exception\InvalidArgumentException ' );
48+ $ this ->expectException (\ Symfony \Component \Lock \Exception \InvalidArgumentException::class );
4949 $ this ->expectExceptionMessage ('The FlockStore directory "/" is not writable. ' );
5050 if (!getenv ('USER ' ) || 'root ' === getenv ('USER ' )) {
5151 $ this ->markTestSkipped ('This test will fail if run under superuser ' );
You can’t perform that action at this time.
0 commit comments