From 4dea85e2c8d93ce420b38c10fd5bbc814b3f66a5 Mon Sep 17 00:00:00 2001 From: myrmidex Date: Wed, 6 Aug 2025 21:54:47 +0200 Subject: [PATCH] Fix name --- .../Console/Commands/FetchNewArticlesCommandTest.php} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename backend/tests/Feature/{ArticleDiscoveryCommandTest.php => Http/Console/Commands/FetchNewArticlesCommandTest.php} (91%) diff --git a/backend/tests/Feature/ArticleDiscoveryCommandTest.php b/backend/tests/Feature/Http/Console/Commands/FetchNewArticlesCommandTest.php similarity index 91% rename from backend/tests/Feature/ArticleDiscoveryCommandTest.php rename to backend/tests/Feature/Http/Console/Commands/FetchNewArticlesCommandTest.php index 9d1c955..e02d822 100644 --- a/backend/tests/Feature/ArticleDiscoveryCommandTest.php +++ b/backend/tests/Feature/Http/Console/Commands/FetchNewArticlesCommandTest.php @@ -1,17 +1,15 @@ artisan('article:refresh'); $exitCode->assertSuccessful(); - + // The command should complete without the "no feeds" message $exitCode->assertExitCode(0); } @@ -72,4 +70,4 @@ public function test_command_logs_when_no_feeds_available(): void $exitCode->assertSuccessful(); $exitCode->expectsOutput('No active feeds found. Article discovery skipped.'); } -} \ No newline at end of file +}