Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion puppy_kit/commands/incident.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def update_incident(
"value": is_duplicate.capitalize(),
}
if needs_wrench_bot_check is not None:
field_data["NeedsWrenchBotCheck"] = {
field_data["needswrenchbotcheck"] = {
"type": "dropdown",
"value": needs_wrench_bot_check.capitalize(),
}
Expand Down
2 changes: 1 addition & 1 deletion tests/commands/test_incident.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def test_update_incident_needs_wrench_bot_check(self, mock_client, runner):
assert "updated" in result.output
_, kwargs = mock_patch.call_args
sent_fields = kwargs["json"]["data"]["attributes"]["fields"]
assert sent_fields["NeedsWrenchBotCheck"] == {"type": "dropdown", "value": "Yes"}
assert sent_fields["needswrenchbotcheck"] == {"type": "dropdown", "value": "Yes"}


class TestSetStatusIncident:
Expand Down
Loading