Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Installer / InstallerLanguageTest.php
index 3f911938f1536492fe513535bdbf0b5fb2d2cad8..1f7b9104ee903bb3b96d5b41363763f35d5feebf 100644 (file)
@@ -52,8 +52,8 @@ class InstallerLanguageTest extends KernelTestBase {
     $info_en = install_profile_info('testing', 'en');
     $info_nl = install_profile_info('testing', 'nl');
 
-    $this->assertFalse(in_array('locale', $info_en['dependencies']), 'Locale is not set when installing in English.');
-    $this->assertTrue(in_array('locale', $info_nl['dependencies']), 'Locale is set when installing in Dutch.');
+    $this->assertNotContains('locale', $info_en['install'], 'Locale is not set when installing in English.');
+    $this->assertContains('locale', $info_nl['install'], 'Locale is set when installing in Dutch.');
   }
 
 }