You are here

public function ConfigSplitKernelTest::syncFolderIsConflictingProvider in Configuration Split 8

Provide the split and sync directories to compare.

Return value

array The data.

File

tests/src/Kernel/ConfigSplitKernelTest.php, line 126

Class

ConfigSplitKernelTest
Integration test.

Namespace

Drupal\Tests\config_split\Kernel

Code

public function syncFolderIsConflictingProvider() {
  return [
    [
      '../config/split',
      '../config/sync',
      FALSE,
    ],
    [
      '../config/config_split',
      '../config/config',
      FALSE,
    ],
    [
      '../config/sync/split',
      '../config/sync',
      TRUE,
    ],
    // We do not actually resolve the folder hierarchy.
    [
      'config/other/../sync',
      'config/sync',
      FALSE,
    ],
  ];
}