mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-01 01:25:43 -05:00
Fix backup file validation error message (#472)
* Fix backup error message * check for file existence for restore * chang error message * address pr comment * cleanup
This commit is contained in:
@@ -14,11 +14,11 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.DisasterRecovery
|
||||
public class DisasterRecoveryFileValidatorUnitTests
|
||||
{
|
||||
[Fact]
|
||||
public void ValidatorShouldReturnFalseForNullArgument()
|
||||
public void ValidatorShouldReturnTrueForNullArgument()
|
||||
{
|
||||
string message;
|
||||
bool result = DisasterRecoveryFileValidator.ValidatePaths(null, out message);
|
||||
Assert.False(result);
|
||||
Assert.True(result);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user