Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix create alignment test #74

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions killbill-integration-tests/core/test_catalog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_create_alignment

# Add a first add-on with a START_OF_BUNDLE creation alignment. The subscription is aligned
# with the bundle creation date (2013-08-01) meaning the trial will be from 2013-08-15 to 2013-08-31
create_ao_entitlement(bp, 2, 'BasicAOStartOfBundle', 'MONTHLY', '2013-08-15', '2013-09-14', 0) ## TODO_1739 - This needs to be fixed on the KB side 2013-09-14 => to 2013-08-31
create_ao_entitlement(bp, 2, 'BasicAOStartOfBundle', 'MONTHLY', '2013-08-15', '2013-08-31', 0)

# Add a second add-on with a START_OF_SUBSCRIPTION creation alignment. The subscription is aligned
# with the add-on subscription creation date (2013-08-15) meaning the trial will be from 2013-08-15 to 2013-09-14
Expand Down Expand Up @@ -230,7 +230,7 @@ def setup_change_alignment_test
# Move the clock to 2013-08-05
add_days(4)

ao = create_ao_entitlement(bp, 2, 'BasicAO', 'MONTHLY', '2013-08-05', '2013-09-04', 0.0) ## TODO_1739 - This needs to be fixed on the KB side 2013-09-04 => to 2013-08-31
ao = create_ao_entitlement(bp, 2, 'BasicAO', 'MONTHLY', '2013-08-05', '2013-08-31', 0.0)
check_subscription_events(bp,
ao,
[{ type: 'START_ENTITLEMENT', date: '2013-08-01' },
Expand Down
Loading