File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -488,14 +488,13 @@ func TestKongConsumerSecretCredentials(t *testing.T) {
488
488
sdk .KongCredentialsBasicAuthSDK .EXPECT ().
489
489
CreateBasicAuthWithConsumer (
490
490
mock .Anything ,
491
- mock .Anything ,
492
- // mock.MatchedBy(
493
- // func(r sdkkonnectops.CreateBasicAuthWithConsumerRequest) bool {
494
- // return r.ControlPlaneID == cp.GetKonnectID() &&
495
- // r.BasicAuthWithoutParents.Username == username &&
496
- // r.BasicAuthWithoutParents.Password == "password"
497
- // },
498
- // ),
491
+ mock .MatchedBy (
492
+ func (r sdkkonnectops.CreateBasicAuthWithConsumerRequest ) bool {
493
+ return r .ControlPlaneID == cp .GetKonnectID () &&
494
+ r .BasicAuthWithoutParents .Username == username &&
495
+ r .BasicAuthWithoutParents .Password == "password"
496
+ },
497
+ ),
499
498
).
500
499
Return (
501
500
& sdkkonnectops.CreateBasicAuthWithConsumerResponse {
You can’t perform that action at this time.
0 commit comments