New lines added

This commit is contained in:
Michael 2022-01-30 16:30:49 +00:00
parent 273f4c352e
commit 7f59dc07c4

View file

@ -32,7 +32,9 @@ class TagTest extends TestCase
public function testGetFromBody() public function testGetFromBody()
{ {
$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]',