From: Michael Date: Sun, 30 Jan 2022 15:57:54 +0000 (+0000) Subject: Added some testable data X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71959bb9fc858e2ad116d9b63a97676f58b4f562;p=friendica.git Added some testable data --- diff --git a/tests/src/Model/TagTest.php b/tests/src/Model/TagTest.php index 942110362c..4d60023ef1 100644 --- a/tests/src/Model/TagTest.php +++ b/tests/src/Model/TagTest.php @@ -21,6 +21,7 @@ namespace Friendica\Test\src\Model; +use Friendica\Model\Tag; use PHPUnit\Framework\TestCase; class TagTest extends TestCase @@ -30,6 +31,9 @@ class TagTest extends TestCase */ public function testGetFromBody() { + $body = '![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url] Test, please ignore'; + $tags = Tag::getFromBody($body); + // Some expectations here self::markTestIncomplete('Needs knowledge.'); }