1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/test/fixtures/subscriptions.yml
2023-03-27 11:43:36 +02:00

57 lines
1.8 KiB
YAML

subscription_1:
id: 1
plan_id: 2
statistic_profile_id: 3
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') %>
expiration_date: <%= (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:
id: 2
plan_id: 3
statistic_profile_id: 4
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') %>
expiration_date: <%= (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)
subscription_3:
id: 3
plan_id: 1
statistic_profile_id: 7
created_at: 2012-03-12 11:03:31.651441000 Z
updated_at: 2012-03-12 11:03:31.651441000 Z
expiration_date: 2012-04-12 11:03:31.648274000 Z
canceled_at:
# subscription has expired (do not change dates)
subscription_4:
id: 4
plan_id: 1
statistic_profile_id: 8
created_at: 2018-06-11 14:27:12.427521000 Z
updated_at: 2018-06-11 14:27:12.427521000 Z
expiration_date: 2018-07-11 14:27:12.427521000 Z
canceled_at:
subscription_5:
id: 5
plan_id: 4
statistic_profile_id: 9
created_at: 2021-06-14 12:24:45.836045000 Z
updated_at: 2021-06-14 12:24:45.836045000 Z
expiration_date: 2022-06-14 12:24:45.836045000 Z
canceled_at:
subscription_6:
id: 6
plan_id: 4
statistic_profile_id: 10
created_at: <%= 9.months.ago.utc.strftime('%Y-%m-%d %H:%M:%S.%9N %Z') %>
updated_at: <%= 9.months.ago.utc.strftime('%Y-%m-%d %H:%M:%S.%9N %Z') %>
expiration_date: <%= 3.months.from_now.utc.strftime('%Y-%m-%d %H:%M:%S.%9N %Z') %>
canceled_at: