Skip to content

Commit

Permalink
old subs spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaTrichkovski committed Jan 21, 2025
1 parent 9f83314 commit af95bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/components/billing/summary-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module('Integration | Component | billing-summary', function (hooks) {
});

test('it renders active subscription', async function (assert) {
const date = moment(this.subscription.validTo.getTime()).format('MMMM D, YYYY');
const date = moment(this.subscription.validTo.getTime()).subtract(1, 'days').format('MMMM D, YYYY');

await render(hbs`<Billing::Summary
@subscription={{this.subscription}}
Expand Down Expand Up @@ -89,7 +89,7 @@ module('Integration | Component | billing-summary', function (hooks) {
});

test('it renders expired subscription', async function (assert) {
const date = moment(this.subscription.validTo.getTime()).format('MMMM D, YYYY');
const date = moment(this.subscription.validTo.getTime()).subtract(1, 'days').format('MMMM D, YYYY');

this.set('subscription', {
...this.subscription,
Expand Down

0 comments on commit af95bff

Please sign in to comment.