Skip to content

Commit 721c438

Browse files
committed
Auto merge of #3174 - Turbo87:locale-test, r=pichfl
tests/front-page: Override locale to make download count test pass When running the testsuite locally, this test was failing due to my browser using the German locale for formatting instead. This PR forces the `intl` service in the test to explicitly use the `en` locale for formatting instead. r? `@pichfl`
2 parents f3b5d99 + 6717a85 commit 721c438

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/acceptance/front-page-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module('Acceptance | front page', function (hooks) {
1717
setupMirage(hooks);
1818

1919
test('visiting /', async function (assert) {
20+
this.owner.lookup('service:intl').locale = 'en';
21+
2022
this.server.loadFixtures();
2123

2224
await visit('/');

0 commit comments

Comments
 (0)