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.

26 lines
548 B

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Volo.Abp.Uow;
  7. using Xunit;
  8. namespace Shentun.Sms.Jobs
  9. {
  10. public class SmsTaskJobTest : SmsApplicationTestBase
  11. {
  12. private readonly ISmsTaskJob _smsTaskJob;
  13. public SmsTaskJobTest()
  14. {
  15. _smsTaskJob = GetRequiredService<ISmsTaskJob>();
  16. }
  17. [Fact]
  18. [UnitOfWork]
  19. public async Task DoWork()
  20. {
  21. await _smsTaskJob.DoWork();
  22. }
  23. }
  24. }