function FileHookTestCase::setUp
Overrides DrupalWebTestCase::setUp
1 call to FileHookTestCase::setUp()
- FileSaveUploadTest::setUp in modules/
simpletest/ tests/ file.test - Sets up a Drupal site for running functional and integration tests.
1 method overrides FileHookTestCase::setUp()
- FileSaveUploadTest::setUp in modules/
simpletest/ tests/ file.test - Sets up a Drupal site for running functional and integration tests.
File
-
modules/
simpletest/ tests/ file.test, line 240
Class
- FileHookTestCase
- Base class for file tests that use the file_test module to test uploads and hooks.
Code
function setUp() {
// Install file_test module
parent::setUp('file_test');
// Clear out any hook calls.
file_test_reset();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.