You are here

public function TestSimpleFbConnectUserManager::setConfigFactory in Simple FB Connect 8.3

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/TestSimpleFbConnectUserManager.php \Drupal\Tests\simple_fb_connect\Unit\TestSimpleFbConnectUserManager::setConfigFactory()

Allows us to modify the configuration for some test cases.

File

tests/src/Unit/TestSimpleFbConnectUserManager.php, line 24

Class

TestSimpleFbConnectUserManager
This subclass overrides methods that call procedural Drupal functions.

Namespace

Drupal\Tests\simple_fb_connect\Unit

Code

public function setConfigFactory($new_factory) {
  $this->configFactory = $new_factory;
}