Coverage tests for ees

This commit is contained in:
nickolasdaniel
2021-03-23 14:59:18 +02:00
committed by Dan Christian Bogos
parent 6f8523a008
commit 93297dd445
2 changed files with 174 additions and 20 deletions

View File

@@ -157,26 +157,6 @@ func TestNewSQLeExportPathError(t *testing.T) {
}
}
// type mockConnPool struct {
// sqldb *sql.DB
// }
// func (mcp mockConnPool) Ping() error {
// return nil
// }
// func (mockConnPool) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) {
// return nil, nil
// }
// func (mockConnPool) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) {
// return nil, nil
// }
// func (mockConnPool) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
// return nil, nil
// }
// func (mockConnPool) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row {
// return nil
// }
type mockDialect2 struct {
gorm.Dialector
}