Modified test
This commit is contained in:
parent
d39718e514
commit
4cc8b6a330
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class general_plugin_semantic_test extends DokuWikiTest {
|
||||||
$this->assertArrayHasKey('desc', $info);
|
$this->assertArrayHasKey('desc', $info);
|
||||||
$this->assertArrayHasKey('url', $info);
|
$this->assertArrayHasKey('url', $info);
|
||||||
|
|
||||||
$this->assertEquals('tpl', $info['base']);
|
$this->assertEquals('semantic', $info['base']);
|
||||||
$this->assertRegExp('/^https?:\/\//', $info['url']);
|
$this->assertRegExp('/^https?:\/\//', $info['url']);
|
||||||
$this->assertTrue(mail_isvalid($info['email']));
|
$this->assertTrue(mail_isvalid($info['email']));
|
||||||
$this->assertRegExp('/^\d\d\d\d-\d\d-\d\d$/', $info['date']);
|
$this->assertRegExp('/^\d\d\d\d-\d\d-\d\d$/', $info['date']);
|
||||||
|
|
Loading…
Reference in a new issue