comparison core/modules/user/tests/src/Kernel/UserInstallTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
26 $this->container->get('module_handler')->loadInclude('user', 'install'); 26 $this->container->get('module_handler')->loadInclude('user', 'install');
27 $this->installEntitySchema('user'); 27 $this->installEntitySchema('user');
28 user_install(); 28 user_install();
29 } 29 }
30 30
31
32 /** 31 /**
33 * Test that the initial users have correct values. 32 * Test that the initial users have correct values.
34 */ 33 */
35 public function testUserInstall() { 34 public function testUserInstall() {
36 $result = db_query('SELECT u.uid, u.uuid, u.langcode, uf.status FROM {users} u INNER JOIN {users_field_data} uf ON u.uid=uf.uid ORDER BY u.uid') 35 $result = db_query('SELECT u.uid, u.uuid, u.langcode, uf.status FROM {users} u INNER JOIN {users_field_data} uf ON u.uid=uf.uid ORDER BY u.uid')