public function MediaWYSIWYGFileUsageTest::setUp in D7 Media 7.4
Same name and namespace in other branches
- 7.2 modules/media_wysiwyg/tests/media_wysiwyg.file_usage.test \MediaWYSIWYGFileUsageTest::setUp()
- 7.3 modules/media_wysiwyg/tests/media_wysiwyg.file_usage.test \MediaWYSIWYGFileUsageTest::setUp()
Enable media and file entity modules for testing.
Overrides MediaWYSIWYGTestHelper::setUp
File
- modules/
media_wysiwyg/ tests/ media_wysiwyg.file_usage.test, line 24 - Tests for the file usage in entity fields with the Media filter markup.
Class
- MediaWYSIWYGFileUsageTest
- @file Tests for the file usage in entity fields with the Media filter markup.
Code
public function setUp() {
parent::setUp();
// Create and log in a user.
$account = $this
->drupalCreateUser(array(
'administer nodes',
'create article content',
));
$this
->drupalLogin($account);
}