From 56b704b21657f64bee40a4c6fac124e26d9ffcb9 Mon Sep 17 00:00:00 2001 From: Amanda Hager Lopes de Andrade Katz Date: Tue, 3 Dec 2024 10:37:45 -0300 Subject: [PATCH] fix: fix resourcename and offerurl --- internal/provider/resource_access_offer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/provider/resource_access_offer_test.go b/internal/provider/resource_access_offer_test.go index 772c16ec..843ab3a6 100644 --- a/internal/provider/resource_access_offer_test.go +++ b/internal/provider/resource_access_offer_test.go @@ -18,12 +18,12 @@ func TestAcc_ResourceAccessOffer(t *testing.T) { userName := acctest.RandomWithPrefix("tfuser") userPassword := acctest.RandomWithPrefix("tf-test-user") modelName := acctest.RandomWithPrefix("tf-access-model") - offerURL := fmt.Sprintf("admin/%s.prometheus-k8s", modelName) + offerURL := fmt.Sprintf("admin/%s.appone", modelName) access := "consume" newAccess := "admin" accessFail := "bogus" - resourceName := "juju_access_offer.access_prometheus_endpoint" + resourceName := "juju_access_offer.access_appone_endpoint" resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, ProtoV6ProviderFactories: frameworkProviderFactories,