Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Oct 12, 2023
1 parent 656e89d commit 66a5877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Unit/Handler/JsonDetectionHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function testIssue34ResultOfHeaderAndMaxmindUsMatchLanguages(): void
public function __invoke(DetectUserLanguagesEvent $event): void
{
$fakeMaxMindResult = 'us';
$mode = 'Before';
$mode = 'before';
$locale = $this->languageService->getLanguageByCountry($fakeMaxMindResult) . '_' . $fakeMaxMindResult;
$event->setUserLanguages($this->localeCollectionSortService->addLocaleByMode($event->getUserLanguages(), new LocaleValueObject($locale), $mode));
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"rector/rector": "^0.14",
"phpstan/phpstan": "^1.8",
"infection/infection": "^0.26",
"qossmic/deptrac-shim": "^1.0",
"qossmic/deptrac-shim": "^0.24||^1.0",
"geoip2/geoip2": "^2.13",
"ssch/typo3-rector": "^1.0",
"phpstan/extension-installer": "^1.2"
Expand Down

0 comments on commit 66a5877

Please sign in to comment.