You are here

constant FILE_URL_TEST_CDN_1 in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_1
  2. 9 core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_1
  3. 10 core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_1

@file Helper module for the file tests.

The caller is must call file_test_reset() to initializing this module before calling file_test_get_calls() or file_test_set_return().

2 uses of FILE_URL_TEST_CDN_1
FileURLRewritingTest::testShippedFileURL in modules/simpletest/tests/file.test
Test the generating of rewritten shipped file URLs.
file_test_file_url_alter in modules/simpletest/tests/file_test.module
Implements hook_file_url_alter().

File

modules/simpletest/tests/file_test.module, line 12
Helper module for the file tests.

Code

define('FILE_URL_TEST_CDN_1', 'http://cdn1.example.com');