diff --git a/.env.example b/.env.example index 6566ac2..c65ae2c 100644 --- a/.env.example +++ b/.env.example @@ -52,4 +52,4 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" GITHUB_TOKEN= -SLACK_WEBHOOK_URL= +SLACK_WEBHOOK_URL=http://localhost diff --git a/tests/Feature/StatsTest.php b/tests/Feature/StatsTest.php index c640c7e..e22aa00 100644 --- a/tests/Feature/StatsTest.php +++ b/tests/Feature/StatsTest.php @@ -123,7 +123,7 @@ public function the_slack_notification_is_sent() new AnonymousNotifiable, WeeklyStats::class, function ($notification, $channels, $notifiable) { - return $notifiable->routes['slack'] == 'http://localhost'; + return $notifiable->routes['slack'] == config('services.slack.webhook'); } ); }