You are here

public function RecipeUpdatePath::setUp in Recipe 7.2

File

src/Tests/RecipeUpdatePath.php, line 26

Class

RecipeUpdatePath
Tests the update path for Recipe 7.x-1.3 to 7.x-2.x.

Namespace

Drupal\recipe\Tests

Code

public function setUp() {

  // Load the database dump files.
  $this->databaseDumpFiles = array(
    drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.bare.standard_all.database.php.gz',
    drupal_get_path('module', 'recipe') . '/tests/upgrade/drupal-7.recipe.database.php',
  );
  parent::setUp();
  $this
    ->uninstallModulesExcept(array(
    'field',
    'field_sql_storage',
    'text',
    'number',
    'recipe',
  ));
}