diff core/tests/Drupal/TestSite/TestSiteInstallTestScript.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/tests/Drupal/TestSite/TestSiteInstallTestScript.php	Thu Feb 28 13:11:55 2019 +0000
@@ -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']);
+  }
+
+}