You are here

public function StorageComparerTest::testConfigManagerDeprecation in Drupal 8

@expectedDeprecation The storage comparer does not need a config manager. The parameter is deprecated since version 8.7.0 and will be removed in 9.0.0. Omit the third parameter. See https://www.drupal.org/node/2993271. @group legacy

File

core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php, line 245

Class

StorageComparerTest
@coversDefaultClass \Drupal\Core\Config\StorageComparer @group Config

Namespace

Drupal\Tests\Core\Config

Code

public function testConfigManagerDeprecation() {
  $configManager = $this
    ->createMock('Drupal\\Core\\Config\\ConfigManagerInterface');
  new StorageComparer($this->sourceStorage, $this->targetStorage, $configManager);
}