Fix tests

This commit is contained in:
philipp lang 2024-09-22 03:02:10 +02:00
parent eaf014b7c7
commit 2f1e02151f
2 changed files with 2 additions and 2 deletions

View File

@ -17,6 +17,6 @@ class ListFilesAction
*/
public function handle(ActionRequest $request, Fileshare $fileshare): DataCollection
{
return ResourceData::collection($fileshare->type->getSubDirectories($request->input('parent')))->wrap('data');
return ResourceData::collect($fileshare->type->getSubDirectories($request->input('parent')))->wrap('data');
}
}

View File

@ -141,7 +141,7 @@ class StoreTest extends TestCase
])->assertSessionHasErrors($errorField);
}
protected static function validationDataProvider(): Generator
public static function validationDataProvider(): Generator
{
yield [
['type' => 'aaa'],