diff --git a/core/modules/system/src/Tests/Installer/InstallerTest.php b/core/modules/system/src/Tests/Installer/InstallerTest.php
index 74f1c5c..876e065 100644
--- a/core/modules/system/src/Tests/Installer/InstallerTest.php
+++ b/core/modules/system/src/Tests/Installer/InstallerTest.php
@@ -38,8 +38,8 @@ public function testInstaller() {
protected function setUpLanguage() {
// Test that \Drupal\Core\Render\BareHtmlPageRenderer adds assets and
// metatags as expected to the first page of the installer.
- $this->assertRaw('core/themes/seven/css/components/buttons.css', 'Seven\'s css is attached.');
- $this->assertRaw('', 'The installer page character set is set to utf-8.');
+ $this->assertRaw('core/themes/seven/css/components/buttons.css');
+ $this->assertRaw('');
parent::setUpLanguage();
}
}