Esempio n. 1
0
 public async Task EditionsInitial_test()
 {
     await this._context.UsingDbContextAsync(async context =>
     {
         Edition edition = await context.Editions.IgnoreQueryFilters().FirstOrDefaultAsync(e => e.Name == EditionManager.DefaultEditionName);
         edition.ShouldNotBeNull();
         Assert.Equal(EditionManager.DefaultEditionName, edition.DisplayName);
         await EntityValid(edition);
     });
 }