diff --git a/tests/lib/IntegrityCheck/CheckerTest.php b/tests/lib/IntegrityCheck/CheckerTest.php index c79f192a7fbbbc0aa5701e3c94ce4dd770e71895..631aec7c6bf2746c87e26ae1b2057faa9ffec7c8 100644 --- a/tests/lib/IntegrityCheck/CheckerTest.php +++ b/tests/lib/IntegrityCheck/CheckerTest.php @@ -110,7 +110,7 @@ class CheckerTest extends TestCase { public function testWriteAppSignatureWrongPermissions() { $this->expectException(\Exception::class); - $this->expectExceptionMessageRegExp('/[a-zA-Z\\/_-]+ is not writable/'); + $this->expectExceptionMessageMatches('/[a-zA-Z\\/_-]+ is not writable/'); $this->fileAccessHelper ->expects($this->once()) @@ -507,7 +507,7 @@ class CheckerTest extends TestCase { public function testWriteCoreSignatureWrongPermissions() { $this->expectException(\Exception::class); - $this->expectExceptionMessageRegExp('/[a-zA-Z\\/_-]+ is not writable/'); + $this->expectExceptionMessageMatches('/[a-zA-Z\\/_-]+ is not writable/'); $this->fileAccessHelper ->expects($this->at(0))