Skip to content

Commit

Permalink
fix: [CDS-101927]: Fixed Endpoint Assertion (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritek01 authored Oct 24, 2024
1 parent 8829169 commit 0fd83b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ func TestAccDataSourceCurrentAccount(t *testing.T) {
var (
resourceName = "data.harness_current_account.test"
accountId = os.Getenv("HARNESS_ACCOUNT_ID")
endpoint = os.Getenv("HARNESS_ENDPOINT")
)

resource.UnitTest(t, resource.TestCase{
Expand All @@ -23,7 +24,7 @@ func TestAccDataSourceCurrentAccount(t *testing.T) {
Config: testAccDataSourceCurrentAccount(),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "account_id", accountId),
resource.TestCheckResourceAttr(resourceName, "endpoint", "https://app.harness.io/gateway"),
resource.TestCheckResourceAttr(resourceName, "endpoint", endpoint),
),
},
},
Expand Down

0 comments on commit 0fd83b9

Please sign in to comment.