(id string)
| 122 | } |
| 123 | |
| 124 | func (suite *GarmSuite) UninstallOrgWebhook(id string) { |
| 125 | t := suite.T() |
| 126 | t.Logf("Uninstall org webhook with org_id %s", id) |
| 127 | err := uninstallOrgWebhook(suite.cli, suite.authToken, id) |
| 128 | suite.NoError(err, "error uninstalling organization webhook") |
| 129 | } |
| 130 | |
| 131 | func (suite *GarmSuite) ValidateOrgWebhookUninstalled(ghToken, url, orgName string) { |
| 132 | hook, err := getGhOrgWebhook(url, ghToken, orgName) |
no test coverage detected