You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
call to ExecQuery 'UPDATE $1 SET Counter = Counter + $2 RETURNING Counter + 1)' with args [{Name: Ordinal:1 Value:COUNTERS} {Name: Ordinal:2 Value:3}], was not expected, next expectation is: ExpectedQuery => expecting Query, QueryContext or QueryRow which:
Hi!,
I've the following update:
The test has:
When I run the test I got this error.
call to ExecQuery 'UPDATE $1 SET Counter = Counter + $2 RETURNING Counter + 1)' with args [{Name: Ordinal:1 Value:COUNTERS} {Name: Ordinal:2 Value:3}], was not expected, next expectation is: ExpectedQuery => expecting Query, QueryContext or QueryRow which:
0 - COUNTERS
1 - 3
row 0 - [1]
I understand that error is because I'm using Exec. But I don't know how to return the value I need with the Exec mock.
Is there any method for return a value with Exec mock?.
The text was updated successfully, but these errors were encountered: