Spaces
This commit is contained in:
parent
4f60b1660e
commit
273f4c352e
1 changed files with 9 additions and 9 deletions
|
@ -33,15 +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);
|
||||||
$expected = [
|
$expected = [
|
||||||
[
|
[
|
||||||
'![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url]',
|
'![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url]',
|
||||||
'!',
|
'!',
|
||||||
'https://pirati.ca/profile/test1',
|
'https://pirati.ca/profile/test1',
|
||||||
'Testgruppe 1b'
|
'Testgruppe 1b'
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
self::assertEquals($expected, $tags);
|
self::assertEquals($expected, $tags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue