Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / TestSite / TestSiteInstallTestScript.php
diff --git a/web/core/tests/Drupal/TestSite/TestSiteInstallTestScript.php b/web/core/tests/Drupal/TestSite/TestSiteInstallTestScript.php
new file mode 100644 (file)
index 0000000..1f6f964
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+namespace Drupal\TestSite;
+
+/**
+ * Setup file used by TestSiteApplicationTest.
+ *
+ * @see \Drupal\Tests\Scripts\TestSiteApplicationTest
+ */
+class TestSiteInstallTestScript implements TestSetupInterface {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setup() {
+    \Drupal::service('module_installer')->install(['test_page_test']);
+  }
+
+}