From ffb427aae7c34284a006cd2384acaea12c7b62f8 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 19 Jan 2016 10:44:14 +0000
Subject: [PATCH] Issue #2644216 by jordanpagewhite: Needless State::get call
 in \Drupal\config\Tests\ConfigEventsTest::testConfigEvents

---
 core/modules/config/src/Tests/ConfigEventsTest.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/modules/config/src/Tests/ConfigEventsTest.php b/core/modules/config/src/Tests/ConfigEventsTest.php
index fb6eca61eaf7..431552e4e873 100644
--- a/core/modules/config/src/Tests/ConfigEventsTest.php
+++ b/core/modules/config/src/Tests/ConfigEventsTest.php
@@ -33,7 +33,6 @@ function testConfigEvents() {
 
     $config = new Config($name, \Drupal::service('config.storage'), \Drupal::service('event_dispatcher'), \Drupal::service('config.typed'));
     $config->set('key', 'initial');
-    \Drupal::state()->get('config_events_test.event', FALSE);
     $this->assertIdentical(\Drupal::state()->get('config_events_test.event', array()), array(), 'No events fired by creating a new configuration object');
     $config->save();
 
-- 
GitLab