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
32 lines
882 B
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<ItemType, Guid> _repository;
|
|
private readonly ItemTypeManager _manager;
|
|
|
|
public ItemTypeManagerTest()
|
|
{
|
|
_repository = GetRequiredService<IRepository<ItemType, Guid>>();
|
|
_manager = GetRequiredService<ItemTypeManager>();
|
|
}
|
|
[Fact]
|
|
public async Task Should_Set_CanAdd()
|
|
{
|
|
//var item = await _manager.CreateAsync("检验");
|
|
//item = await _repository.UpdateAsync(item);
|
|
}
|
|
}
|
|
}
|