Compare commits
1 Commits
35b35f5e40
...
55bd87c864
| Author | SHA1 | Date | |
|---|---|---|---|
| 55bd87c864 |
@ -355,7 +355,7 @@ func TestDalImpl_UpdateTransaction(t *testing.T) {
|
||||
mock.
|
||||
ExpectExec(`
|
||||
UPDATE pfbudget.transactions
|
||||
SET date = \$2, description = \$3, value = \$4
|
||||
SET date = \$2, description = \$3, amount = \$4
|
||||
WHERE id = \$1`).
|
||||
WithArgs(tt.args.t.Id, tt.args.t.Date, tt.args.t.Description, tt.args.t.Value).
|
||||
WillReturnResult(sqlmock.NewResult(0, 1))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user