using Shentun.Peis.ItemTypes; using Shentun.Peis.Models; using Shouldly; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; using Volo.Abp.Identity; using Xunit; namespace Shentun.Peis { public class ItemTypeManagerTest : PeisDomainTestBase { private readonly IRepository _repository; private readonly ItemTypeManager _manager; public ItemTypeManagerTest() { _repository = GetRequiredService>(); _manager = GetRequiredService(); } [Fact] public async Task Should_Set_CanAdd() { //var item = await _manager.CreateAsync("检验"); //item = await _repository.UpdateAsync(item); } } }