Skip to content

Commit

Permalink
Remove Verbose check
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng authored and appilon committed Apr 28, 2020
1 parent d992533 commit 7cfe5b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions helper/resource/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,11 +538,6 @@ func Test(t testing.T, c TestCase) {
}
log.SetOutput(logWriter)

// We require verbose mode so that the user knows what is going on.
if !testing.Verbose() && !c.IsUnitTest {
t.Fatal("Acceptance tests must be run with the -v flag on tests")
}

// get instances of all providers, so we can use the individual
// resources to shim the state during the tests.
providers := make(map[string]*schema.Provider)
Expand Down
9 changes: 0 additions & 9 deletions helper/resource/testing/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// importers of the SDK
package testing

import "testing"

// T is the interface used to handle the test lifecycle of a test.
//
// Users should just use a *testing.T object, which implements this.
Expand All @@ -24,10 +22,3 @@ type T interface {
type M interface {
Run() int
}

// Verbose just wraps the official testing package's helper of the same name.
// This is the final reference to the testing package in non *_test.go files
// in the SDK.
func Verbose() bool {
return testing.Verbose()
}

0 comments on commit 7cfe5b7

Please sign in to comment.