Skip to content

Commit

Permalink
Test for HTTP code
Browse files Browse the repository at this point in the history
  • Loading branch information
codyphobe committed Oct 26, 2016
1 parent 23f82d9 commit 5ef412a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DiscordTest.php
Expand Up @@ -35,7 +35,7 @@ public function it_can_get_a_private_channel_for_a_user()
/** @test */
public function it_throws_an_exception_when_it_received_an_http_error()
{
$this->setExpectedException(CouldNotSendNotification::class, 'Discord responded with an HTTP error');
$this->setExpectedException(CouldNotSendNotification::class, 'Discord responded with an HTTP error: 404');

$http = Mockery::mock(HttpClient::class);
$http->shouldReceive('request')
Expand Down

0 comments on commit 5ef412a

Please sign in to comment.