From ef5898343dc1cd15aad43b4bed417f056d02211f Mon Sep 17 00:00:00 2001
From: ramaniprateek
Date: Thu, 12 Dec 2024 14:32:12 +0530
Subject: [PATCH] Removed duplicate function
---
bigip/resource_bigip_ltm_profile_http_test.go | 33 +------------------
1 file changed, 1 insertion(+), 32 deletions(-)
diff --git a/bigip/resource_bigip_ltm_profile_http_test.go b/bigip/resource_bigip_ltm_profile_http_test.go
index 82336bfb..a4e8fa80 100644
--- a/bigip/resource_bigip_ltm_profile_http_test.go
+++ b/bigip/resource_bigip_ltm_profile_http_test.go
@@ -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"