diff --git a/app/Console/Commands/UpdateAchievementsForPostWithLikes.php b/app/Console/Commands/UpdateAchievementsForPostWithLikes.php index d6f009cf..6e1732e4 100644 --- a/app/Console/Commands/UpdateAchievementsForPostWithLikes.php +++ b/app/Console/Commands/UpdateAchievementsForPostWithLikes.php @@ -2,6 +2,7 @@ namespace App\Console\Commands; +use App\Achievements\Contents\AuthorHighInteraction; use App\Achievements\Contents\AuthorInteraction; use App\Achievements\Contents\RecognizedAuthor; use App\Models\Post; @@ -36,7 +37,7 @@ public function handle() ->chunk(100, function (Collection $posts) { $posts->each(function (Post $post) { if ($post->likers_count >= 30) { - $post->author->reward(RecognizedAuthor::class); + $post->author->reward(AuthorHighInteraction::class); } $post->author->reward(AuthorInteraction::class); diff --git a/tests/Unit/Modifications/BlockquoteModifierTest.php b/tests/Unit/Modifications/BlockquoteModifierTest.php index e35f087f..59c1fc7a 100644 --- a/tests/Unit/Modifications/BlockquoteModifierTest.php +++ b/tests/Unit/Modifications/BlockquoteModifierTest.php @@ -18,7 +18,6 @@ public function testItAddsCssClassesToBlockquoteTags(): void
Note This is a note.
[!WARNING] This is a warning.
[!NOTE] This is a tip.-
'; $modifiedHtml = $modifier->handle($html, function ($content) {
Более подробную документацию по использованию Vite с Laravel можно найти в нашей специализированной документации по сборке и компиляции ваших ресурсов..