Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / KernelTestBaseTest.php
index 2ba85e92e15008c9aad2604dfbc7263e103d7c8a..f809b91532cafeaeb5cab7372d0b9a338d399254 100644 (file)
@@ -306,4 +306,15 @@ class KernelTestBaseTest extends KernelTestBase {
     }
   }
 
+  /**
+   * Ensures KernelTestBase tests can access modules in profiles.
+   */
+  public function testProfileModules() {
+    $this->assertFileExists('core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.info.yml');
+    $this->assertSame(
+      'core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.info.yml',
+      \Drupal::service('extension.list.module')->getPathname('demo_umami_content')
+    );
+  }
+
 }