mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:40:15 +00:00
Added test data
This commit is contained in:
parent
95664a6824
commit
4f60b1660e
1 changed files with 10 additions and 2 deletions
|
@ -33,7 +33,15 @@ class TagTest extends TestCase
|
||||||
{
|
{
|
||||||
$body = '![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url] Test, please ignore';
|
$body = '![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url] Test, please ignore';
|
||||||
$tags = Tag::getFromBody($body);
|
$tags = Tag::getFromBody($body);
|
||||||
// Some expectations here
|
$expected = [
|
||||||
self::markTestIncomplete('Needs knowledge.');
|
[
|
||||||
|
'![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url]',
|
||||||
|
'!',
|
||||||
|
'https://pirati.ca/profile/test1',
|
||||||
|
'Testgruppe 1b'
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
self::assertEquals($expected, $tags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue