This commit is contained in:
Praburaj 2015-04-15 21:51:46 -07:00
parent cae0d494a9
commit 0823c5802c
4 changed files with 4 additions and 32 deletions

View File

@ -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.");
}
}
}

View File

@ -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.");
}
}
}

View File

@ -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.");
}
}
}

View File

@ -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.");
}
}
}