Skip to content
Snippets Groups Projects
Commit deae708d authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #17191 reset bluga_key to fix test failures

parent 96e03a96
5 merge requests!529Hotline 6.56,!512Master,!484Master,!483Hotline 6.54,!474Hotline #17191 fix sito html img if bluga disabled and no local img
...@@ -134,6 +134,8 @@ $this->google_thumbnail_path = USERFILESPATH.'/web_thumbnails/www_google_com.jpg ...@@ -134,6 +134,8 @@ $this->google_thumbnail_path = USERFILESPATH.'/web_thumbnails/www_google_com.jpg
/** @test */ /** @test */
public function thumbnailerCannotFetchImageAndBlugaDisabledReturnsEmptyUrl() { public function thumbnailerCannotFetchImageAndBlugaDisabledReturnsEmptyUrl() {
Class_AdminVar::newInstanceWithId('BLUGA_API_KEY', ['valeur' => '']);
$this->_file_writer $this->_file_writer
->whenCalled('fileExists') ->whenCalled('fileExists')
->with($this->google_thumbnail_path) ->with($this->google_thumbnail_path)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment