Skip to content

Commit dbc1f63

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 598052b commit dbc1f63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/SerializerPhp80Test.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
test('serializing closures under namespace', function () {
2929
$f1 = Route::make();
3030

31-
expect('Tests\Fixtures\Route::Tests\Fixtures\{closure}')->toBe(s($f1)(new Model));
31+
$s1 = s($f1);
32+
33+
expect('Tests\Fixtures\Route::Tests\Fixtures\{closure}')->toBe($s1(new Model));
3234
})->with('serializers');
3335

3436
test('multiple named arguments within closures', function () {

0 commit comments

Comments
 (0)