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