File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public function handle(): void
7676 public function printFinishMessage (): void
7777 {
7878 $ this ->createdSiteFile (Command::fileLink (
79- Pages::getPage ($ this ->path )->getOutputPath ()
79+ Hyde:: sitePath ( Pages::getPage ($ this ->path )->getOutputPath () )
8080 ))->withExecutionTime ();
8181 }
8282
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ public function testHandleIsSuccessfulWithValidPath()
1616 {
1717 $ this ->file ('_pages/test-page.md ' , 'foo ' );
1818
19- $ this ->artisan ('rebuild _pages/test-page.md ' )->assertExitCode (0 );
19+ $ this ->artisan ('rebuild _pages/test-page.md ' )
20+ ->expectsOutputToContain ('_site/test-page.html ' )
21+ ->assertExitCode (0 );
2022
2123 $ this ->assertFileExists (Hyde::path ('_site/test-page.html ' ));
2224
You can’t perform that action at this time.
0 commit comments