mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fixed resetting database in migrations tests
- due to schema changes between versions, we need to completely nuke the DB between these tests - this is definitely not the best way to do it but I'll fix properly next week
This commit is contained in:
parent
7dfbaefa3e
commit
6f5f608bcd
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ describe('Migrations', function () {
|
|||
|
||||
describe('Database initialization + rollback', function () {
|
||||
beforeEach(async function () {
|
||||
await knexMigrator.reset({force: true});
|
||||
await knexMigrator.init();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue