mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 19:01:41 +00:00
Fix migration test
This commit is contained in:
parent
78e2c68601
commit
72fcd75ada
1 changed files with 8 additions and 1 deletions
|
|
@ -14,7 +14,14 @@ describe('Migration v2.17.6-share-add-isDownloadable', () => {
|
||||||
addColumn: sinon.stub().resolves(),
|
addColumn: sinon.stub().resolves(),
|
||||||
removeColumn: sinon.stub().resolves(),
|
removeColumn: sinon.stub().resolves(),
|
||||||
tableExists: sinon.stub().resolves(true),
|
tableExists: sinon.stub().resolves(true),
|
||||||
describeTable: sinon.stub().resolves({ isDownloadable: undefined })
|
describeTable: sinon.stub().resolves({ isDownloadable: undefined }),
|
||||||
|
sequelize: {
|
||||||
|
Sequelize: {
|
||||||
|
DataTypes: {
|
||||||
|
BOOLEAN: DataTypes.BOOLEAN
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logger = {
|
logger = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue