Added some testable data

This commit is contained in:
Michael 2022-01-30 15:57:54 +00:00
parent 3fab53d335
commit 71959bb9fc

View file

@ -21,6 +21,7 @@
namespace Friendica\Test\src\Model; namespace Friendica\Test\src\Model;
use Friendica\Model\Tag;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
class TagTest extends TestCase class TagTest extends TestCase
@ -30,6 +31,9 @@ class TagTest extends TestCase
*/ */
public function testGetFromBody() 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.'); self::markTestIncomplete('Needs knowledge.');
} }