You are here

protected function FeaturesAssignTest::reset in Features 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Kernel/FeaturesAssignTest.php \Drupal\Tests\features\Kernel\FeaturesAssignTest::reset()

Reset the config to reapply assignment plugins.

1 call to FeaturesAssignTest::reset()
FeaturesAssignTest::testAssignExclude in tests/src/Kernel/FeaturesAssignTest.php
@covers Drupal\features\Plugin\FeaturesAssignment\FeaturesAssignmentExclude

File

tests/src/Kernel/FeaturesAssignTest.php, line 857

Class

FeaturesAssignTest
The Feature Assign test.

Namespace

Drupal\Tests\features\Kernel

Code

protected function reset() {
  $this->assigner
    ->reset();

  // Start with an empty configuration collection.
  $this->featuresManager
    ->setConfigCollection([]);
}