You are here

public function ReadOnlyFilesystemTest::testSameLogicDiskWritable in Automatic Updates 8

Tests the readiness check on writable file system on same logic disk.

@covers ::run

File

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

Class

ReadOnlyFilesystemTest
@coversDefaultClass \Drupal\automatic_updates\ReadinessChecker\ReadOnlyFilesystem

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker

Code

public function testSameLogicDiskWritable() {
  $readOnly = new ReadOnlyFilesystem(self::getVfsRoot(), $this->container
    ->get('logger.channel.automatic_updates'), $this->container
    ->get('file_system'));
  $this
    ->assertEquals([], $readOnly
    ->run());
}