Skip to content

Commit

Permalink
Unit test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfendeksilverstripe committed Jul 28, 2023
1 parent b618f54 commit f8f4fc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/php/Models/LinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public function linkUrlCasesDataProvider(): array
'internal link / page only' => [
'page-link-page-only',
SiteTreeLink::class,
'/page-1/',
'/page-1',
],
'internal link / anchor only' => [
'page-link-anchor-only',
Expand All @@ -276,17 +276,17 @@ public function linkUrlCasesDataProvider(): array
'internal link / with anchor' => [
'page-link-with-anchor',
SiteTreeLink::class,
'/page-1/#my-anchor',
'/page-1#my-anchor',
],
'internal link / with query string' => [
'page-link-with-query-string',
SiteTreeLink::class,
'/page-1/?param1=value1&param2=option2',
'/page-1?param1=value1&param2=option2',
],
'internal link / with query string and anchor' => [
'page-link-with-query-string-and-anchor',
SiteTreeLink::class,
'/page-1/?param1=value1&param2=option2#my-anchor',
'/page-1?param1=value1&param2=option2#my-anchor',
],
'email link / with email' => [
'email-link-with-email',
Expand Down

0 comments on commit f8f4fc5

Please sign in to comment.