Skip to content

Commit 6f3ed0b

Browse files
committed
Fix string is now enforced to array
1 parent ddb8779 commit 6f3ed0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/tests/Feature/Commands/PublishViewsCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function testCanSelectGroupWithQuestionAndPrompts()
215215
$this->artisan('publish:views')
216216
->expectsQuestion('Which category do you want to publish?', '<comment>layouts</comment>: Shared layout views, such as the app layout, navigation menu, and Markdown page templates')
217217
->expectsOutput('Selected category [layouts]')
218-
->expectsQuestion('Select the files you want to publish', (is_dir(Hyde::path('packages')) ? 'packages' : 'vendor/hyde').'/framework/resources/views/layouts/app.blade.php')
218+
->expectsQuestion('Select the files you want to publish', [(is_dir(Hyde::path('packages')) ? 'packages' : 'vendor/hyde').'/framework/resources/views/layouts/app.blade.php'])
219219
->expectsOutput('Published selected file to [resources/views/vendor/hyde/layouts/app.blade.php]')
220220
->assertExitCode(0);
221221

0 commit comments

Comments
 (0)