Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: flbla <flbla@users.noreply.github.com>
  • Loading branch information
flbla committed Jun 7, 2024
1 parent 143ba1f commit 21f0375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/resource_preheat_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func testAccCheckPreheatInstanceDestroy(s *terraform.State) error {
continue
}

resp, _, _, err := apiClient.SendRequest("GET", rs.Primary.ID, nil, 200)
resp, _, _, err := apiClient.SendRequest("GET", rs.Primary.ID, nil, 404)
if err != nil {
return fmt.Errorf("Resource was not deleted \n %s", resp)
}
Expand Down

0 comments on commit 21f0375

Please sign in to comment.