Skip to content

Commit 711b11c

Browse files
committed
update assertion for newer phpunit
1 parent 988afb6 commit 711b11c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skel/_test/GeneralTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ public function testPluginInfo(): void
3131
$this->assertArrayHasKey('url', $info);
3232

3333
$this->assertEquals('@@PLUGIN_NAME@@', $info['base']);
34-
$this->assertRegExp('/^https?:\/\//', $info['url']);
34+
$this->assertMatchesRegularExpression('/^https?:\/\//', $info['url']);
3535
$this->assertTrue(mail_isvalid($info['email']));
36-
$this->assertRegExp('/^\d\d\d\d-\d\d-\d\d$/', $info['date']);
36+
$this->assertMatchesRegularExpression('/^\d\d\d\d-\d\d-\d\d$/', $info['date']);
3737
$this->assertTrue(false !== strtotime($info['date']));
3838
}
3939

0 commit comments

Comments
 (0)