function StorageComparerTest::testConfigManagerDeprecation

@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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.