Adding functional tests using WebApplicationFactory

This commit is contained in:
Steve Smith
2018-05-29 22:20:07 -04:00
parent 8c11da75ae
commit 074bdb2a66
3 changed files with 76 additions and 6 deletions

View File

@@ -61,9 +61,9 @@ namespace Microsoft.eShopWeb
// https://www.microsoft.com/en-us/download/details.aspx?id=54284
c.UseSqlServer(Configuration.GetConnectionString("CatalogConnection"));
}
catch (System.Exception ex)
catch (Exception ex)
{
var message = ex.Message;
//TODO: log the exception details
}
});