comparison core/modules/simpletest/src/KernelTestBase.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
223 // database that has been closed during the database install tasks. This 223 // database that has been closed during the database install tasks. This
224 // prevents any services created during the first boot from having stale 224 // prevents any services created during the first boot from having stale
225 // database connections, for example, \Drupal\Core\Config\DatabaseStorage. 225 // database connections, for example, \Drupal\Core\Config\DatabaseStorage.
226 $this->kernel->shutdown(); 226 $this->kernel->shutdown();
227 $this->kernel->boot(); 227 $this->kernel->boot();
228
229 228
230 // Save the original site directory path, so that extensions in the 229 // Save the original site directory path, so that extensions in the
231 // site-specific directory can still be discovered in the test site 230 // site-specific directory can still be discovered in the test site
232 // environment. 231 // environment.
233 // @see \Drupal\Core\Extension\ExtensionDiscovery::scan() 232 // @see \Drupal\Core\Extension\ExtensionDiscovery::scan()