// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.Identity.Test; using Microsoft.Data.Entity; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection.Fallback; using Microsoft.Framework.OptionsModel; using System; using Xunit; namespace Microsoft.AspNet.Identity.SqlServer.Test { public class IntUser : IdentityUser { public IntUser() { UserName = Guid.NewGuid().ToString(); } } public class IntRole : IdentityRole { public IntRole() { Name = Guid.NewGuid().ToString(); } } [TestCaseOrderer("Microsoft.AspNet.Identity.Test.PriorityOrderer", "Microsoft.AspNet.Identity.SqlServer.Test")] public class UserStoreIntTest : SqlStoreTestBase { private readonly string _connectionString = @"Server=(localdb)\v11.0;Database=SqlUserStoreIntTest" + DateTime.Now.Month + "-" + DateTime.Now.Day + "-" + DateTime.Now.Year + ";Trusted_Connection=True;"; public override string ConnectionString { get { return _connectionString; } } } }