Skip to content

Commit d78e2c2

Browse files
committed
Update
1 parent 354f4d9 commit d78e2c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/cli/internal/openapi/oasdiff_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,17 +1327,18 @@ func TestHandlePathConflict(t *testing.T) {
13271327
result: &OasDiffResult{
13281328
Report: tc.specDiff,
13291329
},
1330+
diffGetter: mockDiffGetter,
13301331
}
13311332

13321333
mockDiffGetter.
13331334
EXPECT().
1334-
Get(o.config, o.base.Spec, o.external.Spec).
1335-
Return(tc.specDiff, nil).
1335+
GetWithOperationsSourcesMap(o.config, o.base.Spec, o.external.Spec).
1336+
Return(tc.specDiff, nil, nil).
13361337
AnyTimes()
13371338

13381339
mockDiffGetter.
13391340
EXPECT().
1340-
GetWithOperationsSourcesMap(o.config, o.base.Spec, o.external.Spec).
1341+
Get(gomock.Any(), o.base.Spec, o.external.Spec).
13411342
Return(tc.specDiff, nil).
13421343
AnyTimes()
13431344

0 commit comments

Comments
 (0)