(t *testing.T)
| 96 | } |
| 97 | |
| 98 | func TestApplicationCreateAborted_WithReason(t *testing.T) { |
| 99 | tracker := NewFlowTracker() |
| 100 | tracker.SetStep(StepTerms) |
| 101 | |
| 102 | event := ApplicationCreateAborted(tracker, AbortReasonDeclinedTerms) |
| 103 | assert.Equal(t, EventApplicationCreateAborted, event.Name) |
| 104 | assert.Equal(t, StepTerms, event.Properties["step"]) |
| 105 | assert.Equal(t, AbortReasonDeclinedTerms, event.Properties["reason"]) |
| 106 | } |
| 107 | |
| 108 | func TestApplicationPlanChangeCompleted(t *testing.T) { |
| 109 | event := ApplicationPlanChangeCompleted(DirectionUpgrade, "free", "grow", NewFlowTracker()) |
nothing calls this directly
no test coverage detected