Skip to content

Commit

Permalink
Fix SetupCommand test
Browse files Browse the repository at this point in the history
  • Loading branch information
codyphobe committed Dec 19, 2017
1 parent 074ccd6 commit 27fc509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SetupCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function it_connects_to_the_discord_gateway()
],
],
]))->once();
$socket->shouldReceive('receive')->once()->andReturn(json_encode(['t' => 'READY']));
$socket->shouldReceive('receive')->once()->andReturn(json_encode(['op' => 10]));

$command->shouldReceive('confirm')->with('Is the bot already added to your server?')->once()->andReturn(true);
$command->shouldReceive('warn')->with("Attempting to identify the bot with Discord's websocket gateway...")->once();
Expand Down

0 comments on commit 27fc509

Please sign in to comment.