Cleanup.
This commit is contained in:
parent
cae0d494a9
commit
0823c5802c
|
|
@ -50,8 +50,6 @@ namespace E2ETests
|
|||
"SQLAZURECONNSTR_DefaultConnection",
|
||||
string.Format(DbUtils.CONNECTION_STRING_FORMAT, musicStoreDbName)));
|
||||
|
||||
bool testSuccessful = false;
|
||||
|
||||
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))
|
||||
{
|
||||
var deploymentResult = deployer.Deploy();
|
||||
|
|
@ -73,12 +71,7 @@ namespace E2ETests
|
|||
//Should be able to access the store as the Startup adds necessary permissions for the current user
|
||||
validator.AccessStoreWithPermissions();
|
||||
|
||||
testSuccessful = true;
|
||||
}
|
||||
|
||||
if (!testSuccessful)
|
||||
{
|
||||
logger.LogError("Some tests failed.");
|
||||
logger.LogInformation("Variation completed successfully.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,8 +59,6 @@ namespace E2ETests
|
|||
"SQLAZURECONNSTR_DefaultConnection",
|
||||
string.Format(DbUtils.CONNECTION_STRING_FORMAT, musicStoreDbName)));
|
||||
|
||||
bool testSuccessful = false;
|
||||
|
||||
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))
|
||||
{
|
||||
var deploymentResult = deployer.Deploy();
|
||||
|
|
@ -82,12 +80,7 @@ namespace E2ETests
|
|||
// OpenIdConnect login.
|
||||
validator.LoginWithOpenIdConnect();
|
||||
|
||||
testSuccessful = true;
|
||||
}
|
||||
|
||||
if (!testSuccessful)
|
||||
{
|
||||
logger.LogError("Some tests failed.");
|
||||
logger.LogInformation("Variation completed successfully.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,8 +81,6 @@ namespace E2ETests
|
|||
"SQLAZURECONNSTR_DefaultConnection",
|
||||
string.Format(DbUtils.CONNECTION_STRING_FORMAT, musicStoreDbName)));
|
||||
|
||||
bool testSuccessful = false;
|
||||
|
||||
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))
|
||||
{
|
||||
var deploymentResult = deployer.Deploy();
|
||||
|
|
@ -113,12 +111,7 @@ namespace E2ETests
|
|||
}
|
||||
}
|
||||
|
||||
testSuccessful = true;
|
||||
}
|
||||
|
||||
if (!testSuccessful)
|
||||
{
|
||||
logger.LogError("Some tests failed.");
|
||||
logger.LogInformation("Variation completed successfully.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -148,8 +148,6 @@ namespace E2ETests
|
|||
"SQLAZURECONNSTR_DefaultConnection",
|
||||
string.Format(DbUtils.CONNECTION_STRING_FORMAT, musicStoreDbName)));
|
||||
|
||||
bool testSuccessful = false;
|
||||
|
||||
using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))
|
||||
{
|
||||
var deploymentResult = deployer.Deploy();
|
||||
|
|
@ -252,12 +250,7 @@ namespace E2ETests
|
|||
// MicrosoftAccountLogin
|
||||
validator.LoginWithMicrosoftAccount();
|
||||
|
||||
testSuccessful = true;
|
||||
}
|
||||
|
||||
if (!testSuccessful)
|
||||
{
|
||||
logger.LogError("Some tests failed.");
|
||||
logger.LogInformation("Variation completed successfully.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue