only in patch2: unchanged: --- a/core/modules/rest/lib/Drupal/rest/Tests/NodeTest.php +++ b/core/modules/rest/lib/Drupal/rest/Tests/NodeTest.php @@ -50,7 +50,7 @@ protected function enableNodeConfiguration($method, $operation) { */ public function testNodes() { // Tests that the node resource works with comment module enabled. - $this->container->get('module_handler')->enable(array('comment')); + $this->container->get('module_handler')->install(array('comment')); $this->enableNodeConfiguration('GET', 'view'); $node = $this->entityCreate('node');