Skip to content

Commit bb49386

Browse files
authored
Fix test
1 parent 0306679 commit bb49386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/RouteStatisticModelTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function test_can_create_instance_from_factory(): void {
8989
$model = RouteStatistic::factory()->make();
9090

9191
$this->assertInstanceOf(RouteStatistic::class, $model);
92-
$this->assertEquals($model->attributes['parameters'], json_encode($model->parameters));
92+
$this->assertEquals($model->getAttributes()['parameters'], json_encode($model->parameters));
9393
}
9494

9595
private function get_route_parameters(array $parameters): array

0 commit comments

Comments
 (0)