From 4f60b1660eb2cab4c31873347fbd0999a625adb3 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 30 Jan 2022 16:21:07 +0000 Subject: [PATCH] Added test data --- tests/src/Model/TagTest.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/src/Model/TagTest.php b/tests/src/Model/TagTest.php index 1bd1933523..aed2db319a 100644 --- a/tests/src/Model/TagTest.php +++ b/tests/src/Model/TagTest.php @@ -33,7 +33,15 @@ class TagTest extends TestCase { $body = '![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url] Test, please ignore'; $tags = Tag::getFromBody($body); - // Some expectations here - self::markTestIncomplete('Needs knowledge.'); + $expected = [ + [ + '![url=https://pirati.ca/profile/test1]Testgruppe 1b[/url]', + '!', + 'https://pirati.ca/profile/test1', + 'Testgruppe 1b' + ] + ]; + + self::assertEquals($expected, $tags); } } -- 2.39.5