Skip to content

Commit 3cda974

Browse files
committed
fix(rpc) fix rpc test conflict
1 parent c5fcf9e commit 3cda974

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

rpc_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,17 +197,12 @@ func TestExecuteRpcErrWithMissingReturn(t *testing.T) {
197197

198198
assert.Error(t, err)
199199
assert.EqualError(t, expectedErr, err.Error())
200-
200+
201201
mock := mock.MockSupabase{Cfg: mockCtx.Config()}
202202
mock.Activate()
203203
defer mock.Deactivate()
204204
err = mock.MockExecuteRpcWithExpectedResponse(200, "get_submissions", GetSubmissionsResult{})
205205
assert.NoError(t, err)
206-
207-
rpc := &GetSubmissions{}
208-
res, err := raiden.ExecuteRpc(mockCtx, rpc)
209-
assert.NoError(t, err)
210-
assert.NotNil(t, res)
211206
}
212207

213208
func TestRpcParamToGoType(t *testing.T) {

0 commit comments

Comments
 (0)