Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
Use InternalValidate() when testing the Provider
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitrios Karagiannis <dhkarag@gmail.com>
  • Loading branch information
alkar committed Nov 6, 2019
1 parent dff91a0 commit 2098f4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions megaport/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ func init() {
}

func TestProvider(t *testing.T) {
if err := Provider().(*schema.Provider).InternalValidate(); err != nil {
t.Fatalf("Provider.InternalValidate(): %s", err)
}
testAccPreCheck(t)
c := testAccProvider.Meta()
if c == nil {
Expand Down

0 comments on commit 2098f4e

Please sign in to comment.