X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fresthooks%2Fresthooks_test.go;h=7b65f15959426cf213324891bdb308ff2f60b4c0;hb=c39ef838fcfa6fd30e0c70a6f4a2abcc4a25643d;hp=991fbec309239ac9826093ccc3cb0d15df59cdf4;hpb=d6fcfc287d573d94e54a8116a0fc414fe5349a1a;p=ric-plt%2Fricdms.git diff --git a/pkg/resthooks/resthooks_test.go b/pkg/resthooks/resthooks_test.go index 991fbec..7b65f15 100644 --- a/pkg/resthooks/resthooks_test.go +++ b/pkg/resthooks/resthooks_test.go @@ -213,6 +213,13 @@ func TestDownloadAndInstall(t *testing.T) { } +func TestUninstallxApp(t *testing.T) { + response := rh.UninstallChart("test", "test", "test") + if _, ok := response.(*d.DeleteDeployInternalServerError); !ok { + assert.Fail(t, "response type did not match actual: %T", response) + } +} + type HealthCheckerMock struct { mock.Mock }