jeudi 1 septembre 2016

Getting error in sqlmock for GoLang

I am writing test cases for a GoLang application and i am using sqlmock for mocking the SQL queries but i am getting following error while executing go test

Params: [ call to query , was not expected, next expectation is: ExpectedBegin => expecting database transaction Begin]

Any idea on this?

Aucun commentaire:

Enregistrer un commentaire