From 71959bb9fc858e2ad116d9b63a97676f58b4f562 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 30 Jan 2022 15:57:54 +0000 Subject: [PATCH] Added some testable data --- tests/src/Model/TagTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/src/Model/TagTest.php b/tests/src/Model/TagTest.php index 942110362..4d60023ef 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.'); }