Skip to content

Commit

Permalink
remove old testcase covered by the new ones
Browse files Browse the repository at this point in the history
  • Loading branch information
felixlut committed Oct 17, 2023
1 parent afedc78 commit 30c5e9f
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions sonarqube/resource_sonarqube_portfolio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,34 +248,6 @@ func TestAccSonarqubePortfolioSelectionModeNone(t *testing.T) {
})
}

func TestAccSonarqubePortfolioSelectionModeManual(t *testing.T) {
rnd := generateRandomResourceName()
name := "sonarqube_portfolio." + rnd

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPreCheckPortfolioSupport(t) },
Providers: testAccProviders,
Steps: []resource.TestStep{
{
Config: testAccSonarqubePortfolioConfigSelectionMode(rnd, "testAccSonarqubePortfolioKey", "testAccSonarqubePortfolioName", "testAccSonarqubePortfolioDescription", "public", "MANUAL"),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "key", "testAccSonarqubePortfolioKey"),
resource.TestCheckResourceAttr(name, "selection_mode", "MANUAL"),
),
},
{
ResourceName: name,
ImportState: true,
ImportStateVerify: true,
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "key", "testAccSonarqubePortfolioKey"),
resource.TestCheckResourceAttr(name, "selection_mode", "MANUAL"),
),
},
},
})
}

func TestAccSonarqubePortfolioSelectionModeTags(t *testing.T) {
rnd := generateRandomResourceName()
name := "sonarqube_portfolio." + rnd
Expand Down

0 comments on commit 30c5e9f

Please sign in to comment.