Skip to content

Commit c19f8ae

Browse files
fixed more tests
1 parent 6a0c46e commit c19f8ae

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/test-app/tests/integration/components/session-overview-ilm-duedate-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module('Integration | Component | session-overview-ilm-duedate', function (hooks
2929

3030
assert.ok(component.isVisible);
3131
assert.strictEqual(component.label, 'Due By:');
32-
assert.strictEqual(component.value, '5/19/21, 11:55 PM');
32+
assert.strictEqual(component.value, '05/19/21, 11:55 PM');
3333
assert.ok(component.isEditable);
3434
await a11yAudit(this.element);
3535
assert.ok(true, 'not a11y violations');
@@ -45,7 +45,7 @@ module('Integration | Component | session-overview-ilm-duedate', function (hooks
4545
`);
4646

4747
assert.strictEqual(component.label, 'Due By:');
48-
assert.strictEqual(component.value, '5/19/21, 11:55 PM');
48+
assert.strictEqual(component.value, '05/19/21, 11:55 PM');
4949
assert.notOk(component.isEditable);
5050
await a11yAudit(this.element);
5151
assert.ok(true, 'not a11y violations');

packages/test-app/tests/integration/components/sessions-grid-last-updated-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ module('Integration | Component | sessions-grid-last-updated', function (hooks)
3737
`);
3838
const lastUpdatedText = () => {
3939
const date = this.intl.formatDate(session.updatedAt, {
40-
month: 'numeric',
41-
day: 'numeric',
40+
month: '2-digit',
41+
day: '2-digit',
4242
year: 'numeric',
43-
hour: 'numeric',
44-
minute: 'numeric',
43+
hour: '2-digit',
44+
minute: '2-digit',
4545
});
4646

4747
const text = this.intl.t('general.lastUpdate');

0 commit comments

Comments
 (0)