You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/framework/tests/Feature/Commands/PublishViewsCommandTest.php
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,6 @@ public function testCanSelectGroupWithQuestion()
77
77
78
78
$this->artisan('publish:views')
79
79
->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')
80
-
->expectsOutput('Selected category [layouts]')
81
80
->expectsOutput('Published all [layout] files to [resources/views/vendor/hyde/layouts]')
82
81
->assertExitCode(0);
83
82
@@ -207,6 +206,26 @@ public function testInteractiveSelectionWithComplexToggles()
$this->markTestSkipped('Test is not applicable on Windows systems.');
213
+
}
214
+
215
+
$this->artisan('publish:views')
216
+
->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')
217
+
->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')
219
+
->expectsOutput('Published selected file to [resources/views/vendor/hyde/layouts/app.blade.php]')
0 commit comments