From 6b7731a852630db901409f1ee65133c5a2c13a16 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 27 Nov 2020 16:42:48 +0100 Subject: [PATCH] Move to new phpunit Signed-off-by: Roeland Jago Douma --- tests/lib/IntegrityCheck/CheckerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/IntegrityCheck/CheckerTest.php b/tests/lib/IntegrityCheck/CheckerTest.php index c79f192a7f..631aec7c6b 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))