diff --git a/core/modules/locale/src/Tests/LocaleUpdateTest.php b/core/modules/locale/src/Tests/LocaleUpdateTest.php
index b656601..586e103 100644
--- a/core/modules/locale/src/Tests/LocaleUpdateTest.php
+++ b/core/modules/locale/src/Tests/LocaleUpdateTest.php
@@ -377,14 +377,14 @@ public function testEnableLanguage() {
 
     // Check if the language data is added to the database.
     $result = db_query("SELECT project FROM {locale_file} WHERE langcode='nl'")->fetchField();
-    $this->assertTrue((boolean) $result, 'Files removed from file history');
+    $this->assertTrue((boolean) $result, 'Files added to file history');
 
     // Remove a language.
     $this->drupalPostForm('admin/config/regional/language/delete/nl', array(), t('Delete'));
 
     // Check if the language data is removed from the database.
     $result = db_query("SELECT project FROM {locale_file} WHERE langcode='nl'")->fetchField();
-    $this->assertFalse($result, 'Files removed from file history');
+    $this->assertFalse((boolean) $result, 'Files removed from file history');
 
     // Check that the Dutch translation is gone.
     $this->assertTranslation('Extraday', '', 'nl');
