From 782648fef2285c3995a5600541aaf30be2c8d764 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 19 Mar 2020 20:51:28 +0000 Subject: [PATCH] 3c: Enable the node module Enable the node module within the test to add the `access content` permission. This fails, and returns a 500 response code rather than the expected 200 response code. --- .../custom/my_module/tests/src/Functional/BlogPageTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/modules/custom/my_module/tests/src/Functional/BlogPageTest.php b/web/modules/custom/my_module/tests/src/Functional/BlogPageTest.php index 5b3e287..28e0732 100644 --- a/web/modules/custom/my_module/tests/src/Functional/BlogPageTest.php +++ b/web/modules/custom/my_module/tests/src/Functional/BlogPageTest.php @@ -10,6 +10,7 @@ class BlogPageTest extends BrowserTestBase { protected $defaultTheme = 'stark'; protected static $modules = [ + 'node', 'my_module', ];