From 8f9f1c82ba50a9d3ae00738406f4dd3f7ffeda5f Mon Sep 17 00:00:00 2001 From: Carlos Buenosvinos Date: Thu, 31 Mar 2022 00:24:14 +0200 Subject: [PATCH] Updating Chapter 8 + Demo --- .../Application/Cheep/Command/PostCheepCommandHandlerTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Cheeper/Tests/Chapter7/Application/Cheep/Command/PostCheepCommandHandlerTest.php b/tests/Cheeper/Tests/Chapter7/Application/Cheep/Command/PostCheepCommandHandlerTest.php index 3db7b76..e0cb55b 100644 --- a/tests/Cheeper/Tests/Chapter7/Application/Cheep/Command/PostCheepCommandHandlerTest.php +++ b/tests/Cheeper/Tests/Chapter7/Application/Cheep/Command/PostCheepCommandHandlerTest.php @@ -88,6 +88,7 @@ final class PostCheepCommandHandlerTest extends TestCase ); } + //snippet post-cheep-handler-test-testing-events /** @test */ public function cheepIsPersistedSuccessfully(): void { @@ -117,6 +118,7 @@ final class PostCheepCommandHandlerTest extends TestCase $this->assertSame($authorId, $cheepPosted->authorId()); $this->assertSame($cheepId, $cheepPosted->cheepId()); } + //end-snippet post-cheep-handler-test-testing-events private function postNewCheep( string $authorId, @@ -147,4 +149,4 @@ final class PostCheepCommandHandlerTest extends TestCase ); } } -//end-snippet +//end-snippet post-cheep-handler-test