Skip to content
Snippets Groups Projects
Commit 1e29b5fb authored by Project Update Bot's avatar Project Update Bot Committed by Manuel Adán
Browse files

Issue #3286864 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent 566d8649
No related branches found
No related tags found
No related merge requests found
name: Custom Markup Block
type: module
description: A custom markup block allows adding any markup to a block which gets saved to config.
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^8 || ^9 || ^10
package: Other
version: 8.x-1.0
dependencies:
......
......@@ -25,7 +25,7 @@ class BasicCustomMarkupBlockTest extends CustomMarkupBlockTestBase {
$this->drupalGet('<front>');
// Check that the custom block is rendered.
$this->assertRaw($random_content);
$this->assertSession()->responseContains($random_content);
}
}
......@@ -19,14 +19,14 @@ abstract class CustomMarkupBlockTestBase extends BlockTestBase {
*
* @var array
*/
public static $modules = [
protected static $modules = [
'custom_markup_block',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
if (version_compare(\Drupal::VERSION, '9', '<')) {
$this->defaultTheme = 'classy';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment