Skip to content

Commit

Permalink
sample docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
saucykazugmail committed Sep 15, 2024
1 parent bc7f403 commit 452feb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/MyEf.Hr/docs/8-Transactional-Outbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The pluggable nature of an [`IEventPublisher`](https://github.com/Avanade/CoreEx

## Previously generated capabilities

Within [Step 1](./Employee-DB.md) the transactional outbox capabilities, both database and .NET, were generated and included into the solution when performing the [Event outbox](./Employee-DB.md#Event%20outbox).
Within [Step 2](./2-Employee-DB.md) the transactional outbox capabilities, both database and .NET, were generated and included into the solution when performing the [Event outbox](./Employee-DB.md#Event%20outbox).

There were two tables added to the database [`Outbox.EventOutbox`](../MyEf.Hr.Database/Migrations/20221207-004320-02-create-outbox-eventoutbox-table.sql) and [`Outbox.EventOutboxData`](../MyEf.Hr.Database/Migrations/20221207-004320-03-create-outbox-eventoutboxdata-table.sql) via the corresponding generated migration scripts; these tables provide the underlying transactional persistence.

Expand Down Expand Up @@ -110,7 +110,7 @@ services.AddScoped<IEventSender, EventOutboxEnqueue>();

## Unit testing

Back in [Step 3](./3-Employee-Test.md) unit testing of the API surface was introduced. Within these tests there was an `ExpectEvent` and `ExpectEventValue` that verified that a corresponding event was being published and sent; even though we had configured the API with a `NullEventPublisher`.
Back in [Step 4](./4-Employee-Test.md) unit testing of the API surface was introduced. Within these tests there was an `ExpectEvent` and `ExpectEventValue` that verified that a corresponding event was being published and sent; even though we had configured the API with a `NullEventPublisher`.

Hang on! How was an event verified where configured to discard?

Expand Down

0 comments on commit 452feb1

Please sign in to comment.