function GeofieldOpenlayersTestCase::setUp in Geofield 7.2
Set the default field storage backend for fields created during tests.
Overrides FieldTestCase::setUp
File
- tests/
geofield_openlayers.test, line 18 - Integration tests for geofield.module with openlayers.module
Class
- GeofieldOpenlayersTestCase
- @file Integration tests for geofield.module with openlayers.module
Code
function setUp() {
parent::setUp(array(
'geofield',
'field_test',
));
$this->admin_user = $this
->drupalCreateUser(array(
'administer filters',
));
$this->web_user = $this
->drupalCreateUser(array(
'access field_test content',
'administer field_test content',
'administer modules',
));
$this
->drupalLogin($this->web_user);
}