maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
2 additions and
2 deletions
-
framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Distributed/LocalDistributedEventBus_Test.cs
|
|
@ -80,7 +80,7 @@ public class LocalDistributedEventBus_Test : LocalDistributedEventBusTestBase |
|
|
MyEventDate.Order = string.Empty; |
|
|
MyEventDate.Order = string.Empty; |
|
|
await DistributedEventBus.PublishAsync(new MyEventDate(), onUnitOfWorkComplete: false); |
|
|
await DistributedEventBus.PublishAsync(new MyEventDate(), onUnitOfWorkComplete: false); |
|
|
|
|
|
|
|
|
MyEventDate.Order.ShouldBe(nameof(MyEventHandle) + nameof(DistributedEventSent) + nameof(DistributedEventReceived)); |
|
|
MyEventDate.Order.ShouldBe(nameof(DistributedEventSent) + nameof(DistributedEventReceived) + nameof(MyEventHandle)); |
|
|
|
|
|
|
|
|
MyEventDate.Order = string.Empty; |
|
|
MyEventDate.Order = string.Empty; |
|
|
await DistributedEventBus.PublishAsync(new MyEventDate(), onUnitOfWorkComplete: true); |
|
|
await DistributedEventBus.PublishAsync(new MyEventDate(), onUnitOfWorkComplete: true); |
|
|
@ -88,7 +88,7 @@ public class LocalDistributedEventBus_Test : LocalDistributedEventBusTestBase |
|
|
|
|
|
|
|
|
await uow.CompleteAsync(); |
|
|
await uow.CompleteAsync(); |
|
|
|
|
|
|
|
|
MyEventDate.Order.ShouldBe(nameof(MyEventHandle) + nameof(DistributedEventSent) + nameof(DistributedEventReceived)); |
|
|
MyEventDate.Order.ShouldBe(nameof(DistributedEventSent) + nameof(DistributedEventReceived) + nameof(MyEventHandle)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|