mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Fix/restore connection issue (#416)
* fixed the connection issue used for restore * fixed a test
This commit is contained in:
@@ -185,11 +185,12 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.DisasterRecovery
|
||||
if (canRestore)
|
||||
{
|
||||
Assert.True(response.DbFiles.Any());
|
||||
Assert.Equal(response.DatabaseName, "BackupTestDb");
|
||||
if (string.IsNullOrEmpty(targetDatabase))
|
||||
{
|
||||
targetDatabase = response.DatabaseName;
|
||||
}
|
||||
Assert.Equal(response.DatabaseName, targetDatabase);
|
||||
|
||||
if(execute)
|
||||
{
|
||||
await DropDatabase(targetDatabase);
|
||||
|
||||
Reference in New Issue
Block a user