From 1b81375ff6ab63a20c36725733074c515f4af731 Mon Sep 17 00:00:00 2001 From: myan Date: Thu, 4 Jul 2024 03:58:52 +0000 Subject: [PATCH] fix e2e Signed-off-by: myan --- test/e2e/pkg/consumer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/pkg/consumer_test.go b/test/e2e/pkg/consumer_test.go index 41f2b76b..f873bbc7 100644 --- a/test/e2e/pkg/consumer_test.go +++ b/test/e2e/pkg/consumer_test.go @@ -106,7 +106,7 @@ var _ = Describe("Consumer", Ordered, func() { Expect(resp.StatusCode).To(Equal(http.StatusNoContent)) // delete the consumer - resp, err = apiClient.DefaultApi.ApiMaestroV1ConsumersIdDelete(ctx, *consumer.Id).Execute() + resp, err = apiClient.DefaultApi.ApiMaestroV1ConsumersIdDelete(ctx, *resourceConsumer.Id).Execute() Expect(err).To(Succeed()) Expect(resp.StatusCode).To(Equal(http.StatusNoContent)) })