mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Update MigrationManager unit test
This commit is contained in:
parent
2f83e86d69
commit
1f37d4a7d5
@ -208,7 +208,7 @@ describe('MigrationManager', () => {
|
|||||||
value: { type: 'VARCHAR(255)', allowNull: false, defaultValue: undefined, primaryKey: false, unique: false }
|
value: { type: 'VARCHAR(255)', allowNull: false, defaultValue: undefined, primaryKey: false, unique: false }
|
||||||
})
|
})
|
||||||
expect(migrationManager.maxVersion).to.equal('0.0.0')
|
expect(migrationManager.maxVersion).to.equal('0.0.0')
|
||||||
expect(migrationManager.databaseVersion).to.equal(serverVersion)
|
expect(migrationManager.databaseVersion).to.equal('0.0.0')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should throw an error if the database query fails', async () => {
|
it('should throw an error if the database query fails', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user