You are here

RemoteFileDirectoryTest.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php

File

core/modules/system/src/Tests/File/RemoteFileDirectoryTest.php
View source
<?php

/**
 * @file
 * Contains \Drupal\system\Tests\File\RemoteFileDirectoryTest.
 */
namespace Drupal\system\Tests\File;


/**
 * Tests operations dealing with directories.
 *
 * @group File
 */
class RemoteFileDirectoryTest extends DirectoryTest {

  /**
   * Modules to enable.
   *
   * @var array
   */
  public static $modules = array(
    'file_test',
  );

  /**
   * A stream wrapper scheme to register for the test.
   *
   * @var string
   */
  protected $scheme = 'dummy-remote';

  /**
   * A fully-qualified stream wrapper class name to register for the test.
   *
   * @var string
   */
  protected $classname = 'Drupal\\file_test\\StreamWrapper\\DummyRemoteStreamWrapper';
  protected function setUp() {
    parent::setUp();
    $this
      ->config('system.file')
      ->set('default_scheme', 'dummy-remote')
      ->save();
  }

}

Classes

Namesort descending Description
RemoteFileDirectoryTest Tests operations dealing with directories.