Skip to content

Commit ed63d7b

Browse files
committed
Remove id from mock
Signed-off-by: Daniel Deluiggi <[email protected]>
1 parent 4a6f500 commit ed63d7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/ring/kv/dynamodb/client_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func Test_CAS_UpdateStale(t *testing.T) {
232232
ddbMock := NewDynamodbClientMock()
233233
codecMock := &CodecMock{}
234234
descMock := &DescMock{}
235-
descMockResult := &DescMock{id: "result"}
235+
descMockResult := &DescMock{}
236236
startTime := time.Now().UTC().Add(-time.Millisecond)
237237

238238
c := NewClientMock(ddbMock, codecMock, TestLogger{}, prometheus.NewPedanticRegistry(), defaultPullTime, defaultBackoff)
@@ -399,7 +399,6 @@ func (m *CodecMock) DecodeMultiKey(map[string][]byte) (interface{}, error) {
399399
}
400400

401401
type DescMock struct {
402-
id string
403402
mock.Mock
404403
}
405404

0 commit comments

Comments
 (0)