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

🙉 Add force param to close tickets endpoint to let us ignore errors #492

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

rowanseymour
Copy link
Contributor

.. on an external ticket service when removing a ticketer

@@ -65,16 +65,15 @@ func RunWebTests(t *testing.T, truthFile string, substitutions map[string]string

actualResponse []byte
}
tcs := make([]*TestCase, 0, 20)
tcs := make([]TestCase, 0, 20)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need actual := tc to copy by value.. the status check was never working

…external ticket service when removing a ticketer
@codecov
Copy link

codecov bot commented Sep 7, 2021

Codecov Report

Merging #492 (6bc8d2a) into main (39b36f9) will increase coverage by 0.02%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #492      +/-   ##
==========================================
+ Coverage   57.12%   57.14%   +0.02%     
==========================================
  Files         125      125              
  Lines        8706     8704       -2     
==========================================
+ Hits         4973     4974       +1     
+ Misses       2948     2946       -2     
+ Partials      785      784       -1     
Impacted Files Coverage Δ
core/models/tickets.go 73.52% <0.00%> (ø)
web/ticket/base.go 100.00% <ø> (ø)
web/testing.go 65.21% <50.00%> (+0.26%) ⬆️
services/tickets/utils.go 63.93% <100.00%> (ø)
web/ticket/close.go 57.89% <100.00%> (+10.52%) ⬆️

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 39b36f9...6bc8d2a. Read the comment docs.

@rowanseymour rowanseymour merged commit 371db75 into main Sep 7, 2021
@rowanseymour rowanseymour deleted the force_close branch September 7, 2021 21:59
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.

1 participant