Skip to content

Commit

Permalink
Debug failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 12, 2024
1 parent 323eb96 commit 3a2f516
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Feature/Commands/BuildRssFeedCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);

Expand Down

0 comments on commit 3a2f516

Please sign in to comment.