From d506c7c60b92ccc738776df50cfffc3bff53efad Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Fri, 14 Jun 2024 17:40:15 -0300 Subject: [PATCH] Fix tests --- tests/Http/ResponseMacrosTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/Http/ResponseMacrosTest.php b/tests/Http/ResponseMacrosTest.php index 17c4a61..7263442 100644 --- a/tests/Http/ResponseMacrosTest.php +++ b/tests/Http/ResponseMacrosTest.php @@ -984,8 +984,6 @@ public function response_builder_fails_when_partial_is_missing_and_not_a_remove_ /** @test */ public function response_builder_doesnt_fail_when_partial_is_empty_string() { - // $this->expectException(TurboStreamResponseFailedException::class); - $response = response() ->turboStream() ->update('example_target', '') @@ -997,7 +995,7 @@ public function response_builder_doesnt_fail_when_partial_is_empty_string() 'content' => '', ])->render(); - $this->assertTrue(true); + $this->assertEquals(trim($expected), trim($response->getContent())); } /** @test */