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.

LuGroupsBusinessTest.cs 604B

123456789101112131415161718192021222324
  1. using Luticate2.Auth.Dbo.Groups;
  2. using Luticate2.Auth.Interfaces.Groups;
  3. using Luticate2.Utils.Dbo.Result;
  4. using Luticate2.Utils.Utils;
  5. using Xunit;
  6. namespace TestAuth.Business
  7. {
  8. public class LuGroupsBusinessTest
  9. {
  10. [Fact]
  11. public void Test1()
  12. {
  13. Tests.TestRealDb<ILuGroupsBusiness>(business =>
  14. {
  15. var res = business.AddDbo(new LuGroupsAddDbo
  16. {
  17. Name = "Test."
  18. });
  19. Assert.Equal(LuStatus.Success, res.Status);
  20. });
  21. }
  22. }
  23. }