diff --git a/routes/tests.php b/routes/tests.php index 01e7b0e..7a38975 100644 --- a/routes/tests.php +++ b/routes/tests.php @@ -23,19 +23,19 @@ */ Route::get('/news_serp', function () { - $category = Category::find(1); + $category = Category::find(2); $news_serp_result = GetNewsSerpTask::handle($category, 'US'); dd($news_serp_result); }); Route::get('/news_serp_parse', function () { - $news_serp_result = NewsSerpResult::find(1); + $news_serp_result = NewsSerpResult::find(2); $serp_urls = ParseNewsSerpDomainsTask::handle($news_serp_result); dd($serp_urls); }); Route::get('/write_article', function () { - $serp_url = SerpUrl::find(1); + $serp_url = SerpUrl::find(2); $task = GenerateArticleJob::dispatch($serp_url)->onQueue('default')->onConnection('default'); dd($task);