public function RealisticDummyContentDatabaseTestCase::setUp in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/drupal7-simpletests/RealisticDummyContentDatabaseTestCase.test \RealisticDummyContentDatabaseTestCase::setUp()
Enable the module
File
- api/
drupal7-simpletests/ RealisticDummyContentDatabaseTestCase.test, line 32 - Drupal 7 tests.
Class
- RealisticDummyContentDatabaseTestCase
- The test case
Code
public function setUp() {
parent::setUp('realistic_dummy_content_api', 'realistic_dummy_content', 'devel_generate');
// Our test needs to check that a given content was replaced, so turn
// off random number generator during the test.
variable_set('realistic_dummy_content_api_rand', REALISTIC_DUMMY_CONTENT_API_SEQUENTIAL);
}