diff --git a/table_header_scope_attribute.info.yml b/table_header_scope_attribute.info.yml
index 79d4d04..a6edac6 100644
--- a/table_header_scope_attribute.info.yml
+++ b/table_header_scope_attribute.info.yml
@@ -3,7 +3,7 @@ description: 'Provides a text filter plugin that sets the scope attribute on tab
 package: Accessibility
 
 type: module
-core_version_requirement: ^11
+core_version_requirement: ^10.1 || ^11 || ^12
 
 dependencies:
   - drupal:filter
diff --git a/tests/src/Kernel/CombinedFiltersTest.php b/tests/src/Kernel/CombinedFiltersTest.php
index 4e2c864..4b54c3a 100644
--- a/tests/src/Kernel/CombinedFiltersTest.php
+++ b/tests/src/Kernel/CombinedFiltersTest.php
@@ -53,7 +53,7 @@ public function testCombinedFilters(string $input, string $expected, bool $corre
     $filter_format->save();
 
     // Process the input through the filter format.
-    $processed = (string) check_markup($input, 'test_format');
+    $processed = (string) ['#type' => 'processed_text', '#text' => $input, '#format' => 'test_format'];
 
     $this->assertSame($expected, $processed);
   }
