address CI failure due to code move. app check now hidden behind configuration check
@@ -554,6 +554,10 @@ var _ = Describe("Configurations API Application Endpoints, Mutations", func() {
})
It("returns a 'not found' when the application does not exist", func() {
+ // This requires a valid configuration
+ configuration := catalog.NewConfigurationName()
+ env.MakeConfiguration(configuration)
+
response, err := env.Curl("DELETE",
fmt.Sprintf("%s%s/namespaces/%s/applications/bogus/configurationbindings/%s",
serverURL, api.Root, namespace, configuration),
@@ -569,6 +573,8 @@ var _ = Describe("Configurations API Application Endpoints, Mutations", func() {
json.Unmarshal(bodyBytes, &responseBody)
Expect(responseBody["errors"][0].Title).To(
Equal("application 'bogus' does not exist"))
+
+ env.CleanupConfiguration(configuration)
})
Context("with application", func() {
