diff --git a/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageLoadsCssTest.php b/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageLoadsCssTest.php index 34eec75..5250978 100644 --- a/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageLoadsCssTest.php +++ b/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageLoadsCssTest.php @@ -21,17 +21,16 @@ class DrupalSetMessageLoadsCssTest extends WebTestBase { * * @var string */ - protected $profile = 'standard'; /** - * Check that a page does not load message asserts when unrequired. + * Check that a page does not load message assets when unrequired. */ public function testDrupalSetMessage() { // Get the frontpage. $this->drupalGet(""); // Check that message assets are loaded. - $this->assertRaw("message.css", "Message CSS assets should be loaded.") + $this->assertRaw("core/themes/classy/css/components/messages.css", "Message CSS assets should be loaded.") // Display a message. drupal_set_message(t('A message: @foo', ['@foo' => 'bar']));