Move to new phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
988ce1374c
commit
6b7731a852
|
@ -110,7 +110,7 @@ class CheckerTest extends TestCase {
|
||||||
|
|
||||||
public function testWriteAppSignatureWrongPermissions() {
|
public function testWriteAppSignatureWrongPermissions() {
|
||||||
$this->expectException(\Exception::class);
|
$this->expectException(\Exception::class);
|
||||||
$this->expectExceptionMessageRegExp('/[a-zA-Z\\/_-]+ is not writable/');
|
$this->expectExceptionMessageMatches('/[a-zA-Z\\/_-]+ is not writable/');
|
||||||
|
|
||||||
$this->fileAccessHelper
|
$this->fileAccessHelper
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
|
@ -507,7 +507,7 @@ class CheckerTest extends TestCase {
|
||||||
|
|
||||||
public function testWriteCoreSignatureWrongPermissions() {
|
public function testWriteCoreSignatureWrongPermissions() {
|
||||||
$this->expectException(\Exception::class);
|
$this->expectException(\Exception::class);
|
||||||
$this->expectExceptionMessageRegExp('/[a-zA-Z\\/_-]+ is not writable/');
|
$this->expectExceptionMessageMatches('/[a-zA-Z\\/_-]+ is not writable/');
|
||||||
|
|
||||||
$this->fileAccessHelper
|
$this->fileAccessHelper
|
||||||
->expects($this->at(0))
|
->expects($this->at(0))
|
||||||
|
|
Loading…
Reference in New Issue