Skip to content

Commit

Permalink
✅ TestDeleteCloudflareTunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
adyanth committed Apr 11, 2023
1 parent 2774f2d commit eec3f27
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions controllers/cloudflare_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,11 @@ func TestCreateCloudflareTunnel(t *testing.T) {
}
}
}

func TestDeleteCloudflareTunnel(t *testing.T) {
c, cc := setup(t)
err := c.DeleteCloudflareTunnel()
if assert.NoError(t, err, "expected no error") {
assert.Equal(t, true, cc.deleted)
}
}

0 comments on commit eec3f27

Please sign in to comment.