diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-11-27 16:42:48 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-07 15:44:03 +0100 |
commit | 6b7731a852630db901409f1ee65133c5a2c13a16 (patch) | |
tree | 87c653286b267bbcb1b27366c6e66b63a2758ec2 /tests | |
parent | 988ce1374c6fa54d2ecbcd2a7fdc056398382ac0 (diff) | |
download | nextcloud-server-6b7731a852630db901409f1ee65133c5a2c13a16.tar.gz nextcloud-server-6b7731a852630db901409f1ee65133c5a2c13a16.zip |
Move to new phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/IntegrityCheck/CheckerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/IntegrityCheck/CheckerTest.php b/tests/lib/IntegrityCheck/CheckerTest.php index c79f192a7fb..631aec7c6bf 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)) |