diff --git a/common/domain/replication_queue_test.go b/common/domain/replication_queue_test.go index a3dc78675a8..d2a662bfff4 100644 --- a/common/domain/replication_queue_test.go +++ b/common/domain/replication_queue_test.go @@ -522,7 +522,6 @@ func TestGetDLQSize(t *testing.T) { tt.setupMock(mockQueueManager) q := &replicationQueueImpl{queue: mockQueueManager} size, err := q.GetDLQSize(context.Background()) - if tt.wantErr { assert.Error(t, err) } else {