Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Nov 23, 2024
1 parent 823a056 commit a7184a8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Unit/DumperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,8 @@ public function testAsJsonObjectsMapLevelOne(): void

public function testAsJsonObjectsMapNestedObject(): void
{
$nested3 = new stdClass();
$nested3Id = spl_object_id($nested3);

$nested2 = new stdClass();
$nested2->name = 'nested2';
$nested3->var = $nested3;
$nested2Id = spl_object_id($nested2);

$nested1 = new stdClass();
Expand Down Expand Up @@ -73,7 +69,7 @@ public function testAsJsonObjectsMapNestedObject(): void
}
}
JSON,
Dumper::create($object)->asJsonObjectsMap(300, true)
Dumper::create($object)->asJsonObjectsMap(1, true)
);
}

Expand Down

0 comments on commit a7184a8

Please sign in to comment.