You are here

protected function TestReadOnlyFileSystem::areSameLogicalDisk in Automatic Updates 8

Determine if the root and vendor file system are the same logical disk.

Parameters

string $root: Root file path.

string $vendor: Vendor file path.

Return value

bool TRUE if same file system, FALSE otherwise.

Overrides Filesystem::areSameLogicalDisk

File

tests/src/Kernel/ReadinessChecker/ReadOnlyFilesystemTest.php, line 212

Class

TestReadOnlyFileSystem
Test class to root and vendor directories in different logic disks.

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker

Code

protected function areSameLogicalDisk($root, $vendor) {
  return FALSE;
}