Release 2.16.1
This commit is contained in:
1 parent
3514d514a3
commit
8ce8228091
25 files changed
+1307
-613
No files matched your search
@@ -71,9 +71,9 @@ test('playlist repeat migration upgrades an existing 2.15.1 installation', async
|
||||
test('canvas size enabled migration upgrades an existing 2.15.2 installation', async () => {
|
||||
const pool = createPool([]);
|
||||
const pending = await getPendingMigrations(pool, { currentVersion: '2.15.2' });
|
||||
assert.equal(pending.length, 1);
|
||||
assert.equal(pending[0].version, '2.15.3');
|
||||
await pending[0].run(pool);
|
||||
const canvasMigration = pending.find(migration => migration.version === '2.15.3');
|
||||
assert.ok(canvasMigration);
|
||||
await canvasMigration.run(pool);
|
||||
assert.ok(pool.queries.some(([sql]) => sql.includes('ALTER TABLE c_canvas_sizes ADD COLUMN enabled')));
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user