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

Method assertSQLMockExpectations

database/sql/pools_test.go:54–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected