Use in-memory store for openid connect testing on non-windows platforms

This commit is contained in:
Kiran Challa 2015-11-30 13:53:44 -08:00
parent d584c09413
commit e6376a89a6
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ namespace MusicStore
services.Configure<AppSettings>(Configuration.GetSection("AppSettings"));
//Sql client not available on mono
var useInMemoryStore = _runtimeEnvironment.RuntimeType.Equals("Mono", StringComparison.OrdinalIgnoreCase);
var useInMemoryStore = !_runtimeEnvironment.OperatingSystem.Equals("Windows", StringComparison.OrdinalIgnoreCase);
// Add EF services to the services container
if (useInMemoryStore)