Skip to content

Commit

Permalink
Issue codemix#170 Fix test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehaertl committed Jul 25, 2021
1 parent 9333416 commit 3223ce1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/RedirectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ class RedirectTest extends TestCase

// Params
'/?a=b' => '/en?a=b',
'/site/page?a=b' => '/en/site/page?a=b',
'/site/page1?a=b' => '/en/site/page1?a=b',
'/custom?a=b' => '/en/custom?a=b',
'/slash/?a=b' => '/en/slash/?a=b',
'/site/page?a=b' => [
['/de/site/page?a=b', 'request' => ['acceptableLanguages' => ['de']]],
'/site/page2?a=b' => [
['/de/site/page2?a=b', 'request' => ['acceptableLanguages' => ['de']]],
],
'/slug/value' => '/en/slug/value',
'/en/slug/value' => false,
Expand Down Expand Up @@ -423,11 +423,11 @@ class RedirectTest extends TestCase

// Params
'/?a=b' => '/en/?a=b',
'/site/page/?a=b' => '/en/site/page/?a=b',
'/site/page1/?a=b' => '/en/site/page1/?a=b',
'/custom/?a=b' => '/en/custom/?a=b',
'/noslash?a=b' => '/en/noslash?a=b',
'/site/page/?a=b' => [
['/de/site/page/?a=b', 'request' => ['acceptableLanguages' => ['de']]],
'/site/page2/?a=b' => [
['/de/site/page2/?a=b', 'request' => ['acceptableLanguages' => ['de']]],
],
'/slug/value/' => '/en/slug/value/',
'/en/slug/value/' => false,
Expand Down

0 comments on commit 3223ce1

Please sign in to comment.