Skip to content

Commit

Permalink
Merge pull request #43 from tighten/ozr/set-default-slack-webhook-url…
Browse files Browse the repository at this point in the history
…-to-localhost-in-example-env

Set default slack webhook url in example env to localhost
  • Loading branch information
mattstauffer authored Apr 29, 2024
2 parents 8fbf2ca + 312dc82 commit d81b41f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

GITHUB_TOKEN=

SLACK_WEBHOOK_URL=
SLACK_WEBHOOK_URL=http://localhost
2 changes: 1 addition & 1 deletion tests/Feature/StatsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
);
}
Expand Down

0 comments on commit d81b41f

Please sign in to comment.