MCPcopy Create free account
hub / github.com/cloudbase/garm / assertSQLMockExpectations

Method assertSQLMockExpectations

database/sql/users_test.go:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (s *UserTestSuite) assertSQLMockExpectations() {
51 err := s.Fixtures.SQLMock.ExpectationsWereMet()
52 if err != nil {
53 s.FailNow(fmt.Sprintf("failed to meet sqlmock expectations, got error: %v", err))
54 }
55}
56
57func (s *UserTestSuite) TearDownTest() {
58 watcher.CloseWatcher()

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected