We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0306679 commit bb49386Copy full SHA for bb49386
tests/Unit/RouteStatisticModelTest.php
@@ -89,7 +89,7 @@ public function test_can_create_instance_from_factory(): void {
89
$model = RouteStatistic::factory()->make();
90
91
$this->assertInstanceOf(RouteStatistic::class, $model);
92
- $this->assertEquals($model->attributes['parameters'], json_encode($model->parameters));
+ $this->assertEquals($model->getAttributes()['parameters'], json_encode($model->parameters));
93
}
94
95
private function get_route_parameters(array $parameters): array
0 commit comments