Skip to content

Commit

Permalink
fix: CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seeflood committed Apr 28, 2024
1 parent 3a8b90d commit 4e02463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/grpc/default_api/api_lock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func TestUnlock(t *testing.T) {

t.Run("normal", func(t *testing.T) {
mockLockStore := mock_lock.NewMockLockStore(gomock.NewController(t))
mockLockStore.EXPECT().Unlock(context.TODO(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *lock.UnlockRequest) (*lock.UnlockResponse, error) {
mockLockStore.EXPECT().Unlock(context.Background(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *lock.UnlockRequest) (*lock.UnlockResponse, error) {
assert.Equal(t, "lock|||resource", req.ResourceId)
assert.Equal(t, "owner", req.LockOwner)
return &lock.UnlockResponse{
Expand Down

0 comments on commit 4e02463

Please sign in to comment.