try assertContains
This commit is contained in:
parent
cf2d8ef7a6
commit
7a7102618b
|
@ -264,7 +264,7 @@ class GetTagsTest extends PHPUnit_Framework_TestCase {
|
||||||
$this->assertEquals("Test with @[url=http://justatest.de]Mike Lastname[/url] id tag", $text);
|
$this->assertEquals("Test with @[url=http://justatest.de]Mike Lastname[/url] id tag", $text);
|
||||||
$this->assertEquals("@[url=http://justatest.de]Mike Lastname[/url]", $str_tags);
|
$this->assertEquals("@[url=http://justatest.de]Mike Lastname[/url]", $str_tags);
|
||||||
// this test may produce two cid:15 entries - which is OK because duplicates are pruned before delivery
|
// this test may produce two cid:15 entries - which is OK because duplicates are pruned before delivery
|
||||||
$this->assertTrue(strstr($inform,"cid:15"));
|
$this->assertContains($inform,"cid:15");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue