Skip to content

Commit

Permalink
cleanup: ShouldPublishMessage unit test sets puplished purposly to
Browse files Browse the repository at this point in the history
ull in order to test if it is set correctly at all!
  • Loading branch information
Stelzi79 committed Sep 5, 2023
1 parent d4fa995 commit 43e25ef
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using TagzApp.Common.Models;

namespace TagzApp.UnitTest.InMemoryMessaging.GivenOneSubscriber;
namespace TagzApp.UnitTest.InMemoryMessaging.GivenOneSubscriber;
public class WhenPublishingMessages
{

Expand Down Expand Up @@ -28,7 +26,7 @@ public async Task ShouldPublishMessage()
{

// Arrange
Content published = null;
Content published = null!;
_Sut.SubscribeToContent(_Tag, (content) => published = content);

// Act
Expand Down

0 comments on commit 43e25ef

Please sign in to comment.