Update MigrationManager unit test

This commit is contained in:
advplyr 2024-09-13 14:22:45 -05:00
parent 2f83e86d69
commit 1f37d4a7d5

View File

@ -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 () => {