mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix a failing test in publishDatabaseDialog (#23190)
This commit is contained in:
@@ -87,7 +87,8 @@ describe('Publish Database Dialog', () => {
|
|||||||
['ProdDatabaseName', 'MyProdDatabase'],
|
['ProdDatabaseName', 'MyProdDatabase'],
|
||||||
['BackupDatabaseName', 'MyBackupDatabase']
|
['BackupDatabaseName', 'MyBackupDatabase']
|
||||||
]),
|
]),
|
||||||
deploymentOptions: mockDacFxOptionsResult.deploymentOptions
|
deploymentOptions: mockDacFxOptionsResult.deploymentOptions,
|
||||||
|
publishProfileUri: undefined
|
||||||
};
|
};
|
||||||
|
|
||||||
dialog.object.publish = (_, prof) => { profile = prof; };
|
dialog.object.publish = (_, prof) => { profile = prof; };
|
||||||
@@ -103,7 +104,8 @@ describe('Publish Database Dialog', () => {
|
|||||||
['ProdDatabaseName', 'MyProdDatabase'],
|
['ProdDatabaseName', 'MyProdDatabase'],
|
||||||
['BackupDatabaseName', 'MyBackupDatabase']
|
['BackupDatabaseName', 'MyBackupDatabase']
|
||||||
]),
|
]),
|
||||||
deploymentOptions: mockDacFxOptionsResult.deploymentOptions
|
deploymentOptions: mockDacFxOptionsResult.deploymentOptions,
|
||||||
|
publishProfileUri: undefined
|
||||||
};
|
};
|
||||||
|
|
||||||
dialog.object.generateScript = (_, prof) => { profile = prof; };
|
dialog.object.generateScript = (_, prof) => { profile = prof; };
|
||||||
@@ -130,7 +132,8 @@ describe('Publish Database Dialog', () => {
|
|||||||
['ProdDatabaseName', 'MyProdDatabase'],
|
['ProdDatabaseName', 'MyProdDatabase'],
|
||||||
['BackupDatabaseName', 'MyBackupDatabase']
|
['BackupDatabaseName', 'MyBackupDatabase']
|
||||||
]),
|
]),
|
||||||
deploymentOptions: mockDacFxOptionsResult.deploymentOptions
|
deploymentOptions: mockDacFxOptionsResult.deploymentOptions,
|
||||||
|
publishProfileUri: undefined
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
dialog.object.publishToExistingServer = false;
|
dialog.object.publishToExistingServer = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user