You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
882 B

3 years ago
3 years ago
3 years ago
  1. using Shentun.Peis.ItemTypes;
  2. using Shentun.Peis.Models;
  3. using Shouldly;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using Volo.Abp.Domain.Repositories;
  10. using Volo.Abp.Identity;
  11. using Xunit;
  12. namespace Shentun.Peis
  13. {
  14. public class ItemTypeManagerTest : PeisDomainTestBase
  15. {
  16. private readonly IRepository<ItemType, Guid> _repository;
  17. private readonly ItemTypeManager _manager;
  18. public ItemTypeManagerTest()
  19. {
  20. _repository = GetRequiredService<IRepository<ItemType, Guid>>();
  21. _manager = GetRequiredService<ItemTypeManager>();
  22. }
  23. [Fact]
  24. public async Task Should_Set_CanAdd()
  25. {
  26. //var item = await _manager.CreateAsync("检验");
  27. //item = await _repository.UpdateAsync(item);
  28. }
  29. }
  30. }