From deae708dc62d92ef403b4bf12d496a56c78dbea8 Mon Sep 17 00:00:00 2001
From: Ghislain Loas <ghislo@sandbox.pergame.net>
Date: Wed, 22 Oct 2014 09:18:31 +0200
Subject: [PATCH] hotline #17191 reset bluga_key to fix test failures

---
 tests/library/ZendAfi/View/Helper/WebThumbnailTest.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/library/ZendAfi/View/Helper/WebThumbnailTest.php b/tests/library/ZendAfi/View/Helper/WebThumbnailTest.php
index a79af211724..7c525e02629 100644
--- a/tests/library/ZendAfi/View/Helper/WebThumbnailTest.php
+++ b/tests/library/ZendAfi/View/Helper/WebThumbnailTest.php
@@ -134,6 +134,8 @@ $this->google_thumbnail_path = USERFILESPATH.'/web_thumbnails/www_google_com.jpg
 
 	/** @test */
 	public function thumbnailerCannotFetchImageAndBlugaDisabledReturnsEmptyUrl() {
+		Class_AdminVar::newInstanceWithId('BLUGA_API_KEY', ['valeur' => '']);
+
 		$this->_file_writer
 			->whenCalled('fileExists')
 			->with($this->google_thumbnail_path)
-- 
GitLab