Update stmt can't mock test
liamnv opened this issue · 4 comments
liamnv commented
In Update stmt (https://github.com/gocraft/dbr/blob/master/update.go#L10) use map[string]interface, so you can't control map sorting, so query param not as expected, we can't unit testing
taylorchu commented
do you create unit test by comparing statements?
liamnv commented
Yes
17-09 commented
Is there any update?
@taylorchu
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.