Skip to content

Commit

Permalink
fix acc tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Kisler <[email protected]>
  • Loading branch information
kislerdm committed Oct 4, 2024
1 parent 0c552c1 commit fbbbf38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/provider/acc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,8 @@ func TestAccBranch(t *testing.T) {
prefix := "branch-"

t.Cleanup(func() {
resp, _ := client.ListProjects(nil, nil, &prefix, nil)
scanPrefix := prefix + projectNamePrefix
resp, _ := client.ListProjects(nil, nil, &scanPrefix, nil)
for _, project := range resp.Projects {
br, _ := client.ListProjectBranches(project.ID)
for _, b := range br.BranchesResponse.Branches {
Expand Down

0 comments on commit fbbbf38

Please sign in to comment.