From cc8991f6bcfbb7dafff18fe61c991f07c1ea0048 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 12 Apr 2016 16:51:36 +0200 Subject: [PATCH] fix test fixtures --- test/fixtures/subscriptions.yml.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixtures/subscriptions.yml.erb b/test/fixtures/subscriptions.yml.erb index c7a5ea120..46b992d3b 100644 --- a/test/fixtures/subscriptions.yml.erb +++ b/test/fixtures/subscriptions.yml.erb @@ -6,7 +6,7 @@ subscription_1: stp_subscription_id: sub_8DGB4ErIc2asOv created_at: <%= 10.days.ago.utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> updated_at: <%= 10.days.ago.utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - expired_at: <%= (1.month.from_now - 10.days).utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + expired_at: <%= (1.month.from_now - 11.days).utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> canceled_at: <%= (10.days.ago + 1.minute).utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> subscription_2: @@ -16,7 +16,7 @@ subscription_2: stp_subscription_id: created_at: <%= 10.days.ago.utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> updated_at: <%= 10.days.ago.utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - expired_at: <%= (1.month.from_now - 10.days).utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + expired_at: <%= (1.month.from_now - 11.days).utc.strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> canceled_at: # subscription has expired (do not change dates)