Skip to content

Commit

Permalink
custom matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmahou committed Mar 18, 2024
1 parent 3b11a16 commit 114fc17
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 698 deletions.
2 changes: 1 addition & 1 deletion config/tests/samples/create/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func NewHarness(ctx context.Context, t *testing.T) *Harness {
testName := strings.ReplaceAll(t.Name(), "/", "_")
opts := &recorder.Options{
CassetteName: filepath.Join(dir, testName),
Mode: recorder.ModeReplayOnly,
Mode: recorder.ModeRecordOnly,
RealTransport: ret.Transport,
}
r, err := recorder.NewWithOptions(opts)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ require (
golang.org/x/time v0.5.0
google.golang.org/api v0.160.0
google.golang.org/protobuf v1.32.0
gopkg.in/dnaeon/go-vcr.v3 v3.1.2
gopkg.in/dnaeon/go-vcr.v3 v3.2.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.27.11
k8s.io/apiextensions-apiserver v0.27.9
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 114fc17

Please sign in to comment.