(t *testing.T)
| 72 | } |
| 73 | |
| 74 | func TestApplicationCreateCompleted(t *testing.T) { |
| 75 | event := ApplicationCreateCompleted("us-east", "grow", NewFlowTracker()) |
| 76 | assert.Equal(t, EventApplicationCreateCompleted, event.Name) |
| 77 | assert.Equal(t, "us-east", event.Properties["region"]) |
| 78 | assert.Equal(t, "grow", event.Properties["plan"]) |
| 79 | assert.Contains(t, event.Properties, "duration_ms") |
| 80 | } |
| 81 | |
| 82 | func TestApplicationPlanChangeAborted_WithReason(t *testing.T) { |
| 83 | tracker := NewFlowTracker() |
nothing calls this directly
no test coverage detected