From 7a7102618b5069b68fef65edea40b78840f37ea0 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 7 Apr 2012 02:21:55 -0700 Subject: [PATCH] try assertContains --- tests/get_tags_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/get_tags_test.php b/tests/get_tags_test.php index 68b43231b8..f1e4f76b0a 100644 --- a/tests/get_tags_test.php +++ b/tests/get_tags_test.php @@ -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("@[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->assertTrue(strstr($inform,"cid:15")); + $this->assertContains($inform,"cid:15"); } /**