Index: js_example/js_example.routing.yml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- a/js_example/js_example.routing.yml	(revision 186d0809ce0c9ee41ab7992e8d1c63f866807842)
+++ b/js_example/js_example.routing.yml	(revision )
@@ -4,7 +4,7 @@
     _title: 'JavaScript Example Information'
     _controller: '\Drupal\js_example\Controller\JsExampleController::info'
   requirements:
-    _access: 'TRUE'
+    _permission: 'access content'

 js_example.weights:
   path: '/examples/js_example/weights'
@@ -12,7 +12,7 @@
     _title: 'JS Example: see weighting in action'
     _controller: '\Drupal\js_example\Controller\JsExampleController::getJsWeightImplementation'
   requirements:
-    _access: 'TRUE'
+    _permission: 'access content'

 js_example.accordion:
   path: '/examples/js_example/accordion'
@@ -20,4 +20,4 @@
     _title: 'JS Example: jQuery UI accordion'
     _controller: '\Drupal\js_example\Controller\JsExampleController::getJsAccordionImplementation'
   requirements:
-    _access: 'TRUE'
+    _permission: 'access content'
Index: js_example/src/Tests/JsExampleTest.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- a/js_example/src/Tests/JsExampleTest.php	(revision 186d0809ce0c9ee41ab7992e8d1c63f866807842)
+++ b/js_example/src/Tests/JsExampleTest.php	(revision )
@@ -23,17 +23,17 @@
    *
    * @var array
    */
-  public static $modules = array('js_example');
+  public static $modules = array('js_example', 'node');

   /**
    * Test all the paths defined by our module.
    */
   public function testJsExample() {
-    $paths = array(
+    $paths = [
       'examples/js_example',
       'examples/js_example/weights',
       'examples/js_example/accordion',
-    );
+    ];
     foreach ($paths as $path) {
       $this->drupalGet($path);
       $this->assertResponse(200, 'Visited ' . $path);
