Skip to content

Commit c5fcf9e

Browse files
committed
fix linter
1 parent 66e6291 commit c5fcf9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rpc_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,10 @@ func TestExecuteRpcErrWithMissingReturn(t *testing.T) {
198198
assert.Error(t, err)
199199
assert.EqualError(t, expectedErr, err.Error())
200200

201-
err := mock.MockExecuteRpcWithExpectedResponse(200, "get_submissions", GetSubmissionsResult{})
201+
mock := mock.MockSupabase{Cfg: mockCtx.Config()}
202+
mock.Activate()
203+
defer mock.Deactivate()
204+
err = mock.MockExecuteRpcWithExpectedResponse(200, "get_submissions", GetSubmissionsResult{})
202205
assert.NoError(t, err)
203206

204207
rpc := &GetSubmissions{}

0 commit comments

Comments
 (0)