Skip to content

Commit

Permalink
Removed duplicate function
Browse files Browse the repository at this point in the history
  • Loading branch information
ramaniprateek committed Dec 12, 2024
1 parent b6d1594 commit ef58983
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions bigip/resource_bigip_ltm_profile_http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,38 +162,7 @@ func TestAccBigipLtmProfileHttpUpdateFallbackHost(t *testing.T) {
})
}

func TestAccBigipLtmProfileHttpUpdateFallbackhost(t *testing.T) {
t.Parallel()
var instName = "test-http-Update-FallbackHost"
var instFullName = fmt.Sprintf("/%s/%s", TestPartition, instName)
resFullName := fmt.Sprintf("%s.%s", resHttpName, instName)
resource.Test(t, resource.TestCase{
PreCheck: func() {
testAcctPreCheck(t)
},
Providers: testAccProviders,
CheckDestroy: testCheckHttpsDestroyed,
Steps: []resource.TestStep{
{
Config: testaccbigipltmprofilehttpUpdateParam(instName, ""),
Check: resource.ComposeTestCheckFunc(
testCheckhttpExists(instFullName),
resource.TestCheckResourceAttr(resFullName, "name", instFullName),
resource.TestCheckResourceAttr(resFullName, "defaults_from", "/Common/http"),
),
},
{
Config: testaccbigipltmprofilehttpUpdateParam(instName, "fallback_host"),
Check: resource.ComposeTestCheckFunc(
testCheckhttpExists(instFullName),
resource.TestCheckResourceAttr(resFullName, "name", instFullName),
resource.TestCheckResourceAttr(resFullName, "defaults_from", "/Common/http"),
resource.TestCheckResourceAttr(resFullName, "fallback_host", "titanic"),
),
},
},
})
}

func TestAccBigipLtmProfileHttpUpdateBasicAuthRealm(t *testing.T) {
t.Parallel()
var instName = "test-http-Update-BasicAuthRealm"
Expand Down

0 comments on commit ef58983

Please sign in to comment.