]> git.mxchange.org Git - friendica.git/commitdiff
Added some testable data
authorMichael <heluecht@pirati.ca>
Sun, 30 Jan 2022 15:57:54 +0000 (15:57 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 30 Jan 2022 15:57:54 +0000 (15:57 +0000)
tests/src/Model/TagTest.php

index 942110362c7ec877977b01fc2aacf23348f982f1..4d60023ef1b319365c10cb72aebeeff2edf4dc39 100644 (file)
@@ -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.');
     }