You are here

function ImagecacheExternalTestCase::testCachingExternalImageUsingWhitelist in Imagecache External 8

Same name and namespace in other branches
  1. 7.2 imagecache_external.test \ImagecacheExternalTestCase::testCachingExternalImageUsingWhitelist()

Test caching an external image using the whitelist.

File

./imagecache_external.test, line 184
Tests for Imagecache External.

Class

ImagecacheExternalTestCase
Tests the functions for working with public/private file schemes.

Code

function testCachingExternalImageUsingWhitelist() {
  variable_set('imagecache_external_option', 'white');
  variable_set('imagecache_external_hosts', 'drupal.org');
  $this
    ->testCachingExternalImage();
}