From 2ee9e3795c91cc989bc9124f934344a39268c1a6 Mon Sep 17 00:00:00 2001 From: "Nek (Maxime Veber)" Date: Sat, 13 Sep 2014 14:15:43 +0200 Subject: [PATCH] Fixed travis --- spec/Nekland/YoutubeApi/Http/Auth/ServiceSpec.php | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/Nekland/YoutubeApi/Http/Auth/ServiceSpec.php b/spec/Nekland/YoutubeApi/Http/Auth/ServiceSpec.php index 3953279..688e8fd 100644 --- a/spec/Nekland/YoutubeApi/Http/Auth/ServiceSpec.php +++ b/spec/Nekland/YoutubeApi/Http/Auth/ServiceSpec.php @@ -27,6 +27,7 @@ public function it_should_do_nothing_if_header_already_defined(RequestEvent $req public function it_should_send_a_request_and_add_a_header(RequestEvent $requestEvent, Request $request, AbstractHttpClient $client) { + $client->execute(Argument::any())->willReturn(); $requestEvent->getRequest()->willReturn($request); $requestEvent->getClient()->willReturn($client);