Pass order to api in test
This commit is contained in:
@@ -132,7 +132,7 @@ class ComponentFileTest extends TestCase
|
||||
// List the files to get the file ID
|
||||
$result = $this->actingAsForApi($user)
|
||||
->getJson(
|
||||
route('api.files.index', ['object_type' => 'components', 'id' => $component->id])
|
||||
route('api.files.index', ['object_type' => 'components', 'id' => $component->id, 'order' => 'asc'])
|
||||
)
|
||||
->assertOk()
|
||||
->assertJsonStructure(
|
||||
@@ -214,4 +214,4 @@ class ComponentFileTest extends TestCase
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user