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