private static void Setup() { _db = new TestDatabase().ApplyMigrations(); Mapping.SetMappingEngine(MappingSetup.MappingEngine()); _db.Database.InsertAsync(new TodoEntity { Title = "My Todo", AssignedToUserId = 1 }).Await(); }
private static void Setup() { _db = new TestDatabase().ApplyMigrations(); Mapping.SetMappingEngine(MappingSetup.MappingEngine()); _db.Database.InsertAsync(new UserEntity { UserName = "******", DisplayName = "User" }).Await(); }
private static void Setup() { _db = new TestDatabase().ApplyMigrations(); Mapping.SetMappingEngine(MappingSetup.MappingEngine()); }