This commit is contained in:
Fabien Potencier 2020-04-12 18:54:01 +02:00
parent e4d4428bb3
commit 311a944a08
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class LockHandlerTest extends TestCase
public function testConstructWhenRepositoryDoesNotExist()
{
$this->expectException('Symfony\Component\Filesystem\Exception\IOException');
$this->expectExceptionMessage('Failed to create "/a/b/c/d/e": mkdir(): Permission denied.');
$this->expectExceptionMessage('Failed to create "/a/b/c/d/e": mkdir(): Permission denied');
if (!getenv('USER') || 'root' === getenv('USER')) {
$this->markTestSkipped('This test will fail if run under superuser');
}