Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Commit

Permalink
Merge branch 'philwhiteuk-pw/integrations-data-source'
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilde committed Nov 16, 2017
2 parents 432517c + 95faf1d commit f4175e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ func testAccDataSourceRunscopeIntegrations(dataSource string) resource.TestCheck
a := r.Primary.Attributes

if a["ids.#"] != "2" {
return fmt.Errorf("Expected to get integrations returned from runscope data resource")
return fmt.Errorf("expected to get 2 integrations ids returned from runscope data resource %v, got %v", dataSource, a["ids.#"])
}

if a["ids.0"] == "" {
return fmt.Errorf("Expected to get an integration ID from runscope data resource")
return fmt.Errorf("expected to get an integration id from runscope data resource %v, got blank", dataSource)
}

return nil
Expand Down

0 comments on commit f4175e4

Please sign in to comment.