This commit is contained in:
@@ -275,6 +275,7 @@ describe('asynchronous native launch preparation', () => {
|
||||
kind === 'baseline'
|
||||
? baseline
|
||||
: createScript({
|
||||
releaseVersion: '1.0.0',
|
||||
name: `Launch ${kind}`,
|
||||
kind,
|
||||
targetRelPath:
|
||||
@@ -299,7 +300,7 @@ describe('asynchronous native launch preparation', () => {
|
||||
? 'set rcon_password "password"\nset sv_voice "0"\n'
|
||||
: 'newly promoted file'
|
||||
);
|
||||
const latest = uploadNewVersion(script.id, content);
|
||||
const latest = uploadNewVersion(script.id, content, undefined, '1.0.1');
|
||||
db()
|
||||
.prepare('UPDATE scripts SET current_version_id=? WHERE id=?')
|
||||
.run(latest.id, script.id);
|
||||
|
||||
Reference in New Issue
Block a user