Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
acconrad committed Mar 30, 2019
1 parent bdf2f1b commit 8efc5ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/bot_test.exs
Expand Up @@ -17,9 +17,9 @@ defmodule Slack.BotTest do
with_mocks([
{Bots, [], [info: fn _token -> %{"bot" => %{id: "123"}} end]},
{Channels, [], [list: fn _token -> %{"channels" => [%{id: "123"}]} end]},
{Groups, [], [list: fn _token -> %{"groups" => [%{id: "123"}]} end]},
{Im, [], [list: fn _token -> %{"ims" => [%{id: "123"}]} end]},
{Users, [], [list: fn _token -> %{"members" => [%{id: "123"}]} end]}
{Groups, [], [list: fn _token -> %{"groups" => [%{id: "123"}]} end]},
{Im, [], [list: fn _token -> %{"ims" => [%{id: "123"}]} end]},
{Users, [], [list: fn _token -> %{"members" => [%{id: "123"}]} end]}
]) do
{:reconnect, %{slack: slack, bot_handler: bot_handler}} =
Slack.Bot.init(%{
Expand Down
6 changes: 3 additions & 3 deletions test/integration/bot_test.exs
Expand Up @@ -26,9 +26,9 @@ defmodule Slack.Integration.BotTest do
with_mocks([
{Bots, [], [info: fn _token -> %{"bot" => %{id: "123"}} end]},
{Channels, [], [list: fn _token -> %{"channels" => [%{id: "123"}]} end]},
{Groups, [], [list: fn _token -> %{"groups" => [%{id: "123"}]} end]},
{Im, [], [list: fn _token -> %{"ims" => [%{id: "123"}]} end]},
{Users, [], [list: fn _token -> %{"members" => [%{id: "123"}]} end]}
{Groups, [], [list: fn _token -> %{"groups" => [%{id: "123"}]} end]},
{Im, [], [list: fn _token -> %{"ims" => [%{id: "123"}]} end]},
{Users, [], [list: fn _token -> %{"members" => [%{id: "123"}]} end]}
]) do
Application.put_env(:slack, :test_pid, self())
{:ok, _pid} = Slack.Bot.start_link(Bot, [], "xyz")
Expand Down

0 comments on commit 8efc5ad

Please sign in to comment.