Skip to content

[5.4] Mind file uploads in nested array keys - #18276

Merged
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:testUploadsNested
Mar 9, 2017
Merged

[5.4] Mind file uploads in nested array keys#18276
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:testUploadsNested

Conversation

@themsaid

@themsaid themsaid commented Mar 9, 2017

Copy link
Copy Markdown
Member

In reference to #18268

It handles the case when the uploaded files are in nested keys

$this->post('/', [
            'foo' => [
                'bar' => UploadedFile::fake()->image('image.gif')
            ]
]);

@taylorotwell
taylorotwell merged commit 296761d into laravel:5.4 Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants