diff --git a/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php b/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php
index f0945ed..3600364 100644
--- a/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php
+++ b/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php
@@ -33,11 +33,19 @@ protected function setUp() {
    * Tests the module list form.
    */
   public function testModuleListForm() {
-    $this->drupalLogin($this->drupalCreateUser(array('administer modules')));
+    $this->drupalLogin(
+      $this->drupalCreateUser(
+        array('administer modules', 'administer permissions')
+      )
+    );
     $this->drupalGet('admin/modules');
     $this->assertResponse('200');
 
     // Check that system_test's configure link was rendered correctly.
     $this->assertFieldByXPath("//a[contains(@href, '/system-test/configure/bar') and @title='Bar.bar']");
+
+    // Check that system_test's permissions link was rendered correctly.
+    $this->assertFieldByXPath("//a[contains(@href, '/admin/people/permissions#module-system_test') and @title='Configure permissions']");
   }
+
 }
diff --git a/core/modules/system/tests/modules/system_test/system_test.permissions.yml b/core/modules/system/tests/modules/system_test/system_test.permissions.yml
new file mode 100644
index 0000000..fd06c57
--- /dev/null
+++ b/core/modules/system/tests/modules/system_test/system_test.permissions.yml
@@ -0,0 +1,2 @@
+system test:
+  title: 'Administer system test'
\ No newline at end of file
