Skip to content

Commit

Permalink
fix: change cluster database error test to not expect returned values
Browse files Browse the repository at this point in the history
After gorm version update to 1.25.0 the Save method does not return
values.
  • Loading branch information
miguelsorianod committed Apr 11, 2023
1 parent 610eb5c commit 5b17562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/kafka/internal/services/clusters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func Test_Cluster_Create(t *testing.T) {
cluster: mocks.BuildCluster(nil),
},
setupFn: func() {
mocket.Catcher.Reset().NewMock().WithQuery("INSERT").WithQueryException()
mocket.Catcher.Reset().NewMock().WithQuery("INSERT").WithExecException()
},
wantErr: true,
},
Expand Down

0 comments on commit 5b17562

Please sign in to comment.