This commit is contained in:
Michael 2022-01-30 16:26:29 +00:00
parent 4f60b1660e
commit 273f4c352e

View file

@ -33,15 +33,15 @@ class TagTest extends TestCase
{
$body = '![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url] Test, please ignore';
$tags = Tag::getFromBody($body);
$expected = [
[
'![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url]',
'!',
'https://pirati.ca/profile/test1',
'Testgruppe 1b'
]
];
$expected = [
[
'![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url]',
'!',
'https://pirati.ca/profile/test1',
'Testgruppe 1b'
]
];
self::assertEquals($expected, $tags);
self::assertEquals($expected, $tags);
}
}