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

Dont delete canceled subscriptions #1055

Merged

Conversation

therefromhere
Copy link
Contributor

Based on @unformatt's #858, updated to point at master, and fixed a test issue (need to tell the mock to use the cancelled version).

Resolves #599 , (see also the general case - #576).

@codecov
Copy link

codecov bot commented Nov 16, 2019

Codecov Report

Merging #1055 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1055      +/-   ##
==========================================
+ Coverage   97.59%   97.59%   +<.01%     
==========================================
  Files          25       25              
  Lines        2453     2456       +3     
  Branches      222      223       +1     
==========================================
+ Hits         2394     2397       +3     
  Misses         45       45              
  Partials       14       14
Impacted Files Coverage Δ
djstripe/event_handlers.py 99.01% <100%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5e5dbf...3dfc615. Read the comment docs.

@therefromhere therefromhere added this to the 2.2.0 milestone Nov 16, 2019
@therefromhere therefromhere merged commit 0dd7925 into dj-stripe:master Nov 16, 2019
@therefromhere therefromhere deleted the dont_delete_canceled_subscriptions branch November 16, 2019 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cancelling a Subscription removes the model instance
2 participants