From 3a2f516550bb51f9e993d9af3412a05b7ee1e648 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 12 Apr 2024 13:36:07 +0200 Subject: [PATCH] Debug failing test --- tests/Feature/Commands/BuildRssFeedCommandTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Feature/Commands/BuildRssFeedCommandTest.php b/tests/Feature/Commands/BuildRssFeedCommandTest.php index 1575896a..353d23bd 100644 --- a/tests/Feature/Commands/BuildRssFeedCommandTest.php +++ b/tests/Feature/Commands/BuildRssFeedCommandTest.php @@ -7,6 +7,7 @@ use Hyde\Facades\Filesystem; use Hyde\Hyde; use Hyde\Testing\TestCase; +use Hyde\Framework\Actions\PostBuildTasks\GenerateRssFeed; /** * @covers \Hyde\Console\Commands\BuildRssFeedCommand @@ -20,6 +21,7 @@ public function testRssFeedIsGeneratedWhenConditionsAreMet() config(['hyde.rss.enabled' => true]); $this->file('_posts/foo.md'); +dump( RssFeedGenerator::make()); $this->assertFileDoesNotExist(Hyde::path('_site/feed.xml')); $this->artisan('build:rss')->assertExitCode(0);