root . '/core/includes/update.inc'; $this->writeSettings([ 'settings' => [ 'update_free_access' => (object) [ 'value' => TRUE, 'required' => TRUE, ], ], ]); $this->drupalGet(Url::fromRoute('system.db_update')); $this->assertSession()->statusCodeEquals(200); } }