diff --git a/mothership/internal/api/triggers_test.go b/mothership/internal/api/triggers_test.go index 02e8171..0d02c7e 100644 --- a/mothership/internal/api/triggers_test.go +++ b/mothership/internal/api/triggers_test.go @@ -361,11 +361,12 @@ func TestUpdateTrigger(t *testing.T) { wantEnable: false, }, { - name: "no-op update returns current", - setup: Trigger{ID: "t1", Name: "Same", Condition: "leave", Enabled: true}, - body: `{}`, - wantCode: http.StatusOK, - wantName: "Same", + name: "no-op update returns current", + setup: Trigger{ID: "t1", Name: "Same", Condition: "leave", Enabled: true}, + body: `{}`, + wantCode: http.StatusOK, + wantName: "Same", + wantEnable: true, }, }