Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / file / tests / src / Functional / RemoteFileSaveUploadTest.php
diff --git a/web/core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php b/web/core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php
new file mode 100644 (file)
index 0000000..e0e4be4
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\Tests\file\Functional;
+
+/**
+ * Tests the file uploading functions.
+ *
+ * @group file
+ */
+class RemoteFileSaveUploadTest extends SaveUploadTest {
+
+  /**
+   * Modules to enable.
+   *
+   * @var array
+   */
+  public static $modules = ['file_test'];
+
+  protected function setUp() {
+    parent::setUp();
+    $this->config('system.file')->set('default_scheme', 'dummy-remote')->save();
+  }
+
+}