Example #1
0
        static IntegrationBase()
        {
            var baseFixture = new TestServerBase();

            //run the database seed
            var context = baseFixture.TestServer.Host.Services.GetRequiredService <TeaContext>();

            DbInitializer.Initialize(context);
        }
Example #2
0
 public IntegrationBase()
 {
     TestAuthUserId       = Guid.Parse("4f8c49ec-f7a9-487f-bf62-788dea8b095d");
     TestAuthSimpleUserId = Convert.ToBase64String(TestAuthUserId.ToByteArray());
     TestServerBase       = new TestServerBase();
 }