diff options
author | friendica <info@friendica.com> | 2012-04-07 02:21:55 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-07 02:21:55 -0700 |
commit | 7a7102618b5069b68fef65edea40b78840f37ea0 (patch) | |
tree | ea6d97cbc570ba1026aadc97cf01e0f7c4f62ab3 /tests | |
parent | cf2d8ef7a6ebbaefd0210396eeaa6686480a02ac (diff) | |
download | volse-hubzilla-7a7102618b5069b68fef65edea40b78840f37ea0.tar.gz volse-hubzilla-7a7102618b5069b68fef65edea40b78840f37ea0.tar.bz2 volse-hubzilla-7a7102618b5069b68fef65edea40b78840f37ea0.zip |
try assertContains
Diffstat (limited to 'tests')
-rw-r--r-- | tests/get_tags_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/get_tags_test.php b/tests/get_tags_test.php index 68b43231b..f1e4f76b0 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"); } /** |