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)) })