Skip to content

Commit d506c7c

Browse files
committed
Fix tests
1 parent 3592a34 commit d506c7c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/Http/ResponseMacrosTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -984,8 +984,6 @@ public function response_builder_fails_when_partial_is_missing_and_not_a_remove_
984984
/** @test */
985985
public function response_builder_doesnt_fail_when_partial_is_empty_string()
986986
{
987-
// $this->expectException(TurboStreamResponseFailedException::class);
988-
989987
$response = response()
990988
->turboStream()
991989
->update('example_target', '')
@@ -997,7 +995,7 @@ public function response_builder_doesnt_fail_when_partial_is_empty_string()
997995
'content' => '',
998996
])->render();
999997

1000-
$this->assertTrue(true);
998+
$this->assertEquals(trim($expected), trim($response->getContent()));
1001999
}
10021000

10031001
/** @test */

0 commit comments

Comments
 (0)