From 9e67fb84a13e6505d7e719272b2ff1173e6c2b53 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Wed, 17 Feb 2016 13:40:36 +0100 Subject: [PATCH] Modify test --- tests/CaptainHookTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CaptainHookTest.php b/tests/CaptainHookTest.php index e274be2..ec0a9bb 100644 --- a/tests/CaptainHookTest.php +++ b/tests/CaptainHookTest.php @@ -118,7 +118,7 @@ public function testCustomEventListener() $client->shouldReceive('post') ->once() - ->with('http://foo.bar/hook', ['body' => json_encode(['testModel' => $model]), 'verify' => false, 'timeout' => 10]); + ->with('http://foo.bar/hook', ['body' => json_encode(['testModel' => $model]), 'verify' => false, 'timeout' => 10, 'exceptions' => false]); $provider->setClient($client); $this->app->instance(GuzzleHttp\Client::class, $client);