Run SQL tests in memory

This commit is contained in:
Deluan
2020-01-13 09:06:11 -05:00
committed by Deluan Quintão
parent 87ca885b5e
commit 4b08df0725
6 changed files with 20 additions and 16 deletions
-5
View File
@@ -105,9 +105,4 @@ func (r *artistIndexRepository) GetAll() (domain.ArtistIndexes, error) {
return result, nil
}
func (r *artistIndexRepository) DeleteAll() error {
_, err := Db().Raw("delete from artist_info").Exec()
return err
}
var _ domain.ArtistIndexRepository = (*artistIndexRepository)(nil)