You are here

public function MongoDBFieldAttachStorageTestCase::setUp in MongoDB 7

Set the default field storage backend for fields created during tests.

Overrides FieldAttachTestCase::setUp

File

mongodb_field_storage/mongodb_field_storage.test, line 28
Contains MongoDB Field AttachStorage and Query TestCases.

Class

MongoDBFieldAttachStorageTestCase

Code

public function setUp() {
  $this->default_storage = 'mongodb_field_storage';
  parent::setUp('mongodb', 'mongodb_field_storage');
}