diff --git a/smart_sql_idmap.info.yml b/smart_sql_idmap.info.yml
index 619b6b5..35070d5 100644
--- a/smart_sql_idmap.info.yml
+++ b/smart_sql_idmap.info.yml
@@ -1,6 +1,6 @@
 name: Smart SQL ID Map
 type: module
-core_version_requirement: ^8.8 || ^9 || ^10 || ^11
+core_version_requirement: ^10.1 || ^11 || ^12
 description: A SQL id Map for migrations with long plugin IDs
 package: Migration
 dependencies:
diff --git a/tests/src/Kernel/DestinationIdsIndexTest.php b/tests/src/Kernel/DestinationIdsIndexTest.php
index 4a3e2b5..285068b 100644
--- a/tests/src/Kernel/DestinationIdsIndexTest.php
+++ b/tests/src/Kernel/DestinationIdsIndexTest.php
@@ -63,7 +63,6 @@ class DestinationIdsIndexTest extends MigrateTestBase {
     $this->destination = $this->createMock(MigrateDestinationInterface::class);
     $migration_reflection = new \ReflectionClass($this->migration);
     $migration_destination = $migration_reflection->getProperty('destinationPlugin');
-    $migration_destination->setAccessible(TRUE);
     $migration_destination->setValue($this->migration, $this->destination);
   }
 
diff --git a/tests/src/Kernel/SmartSqlMigrateExecutableTest.php b/tests/src/Kernel/SmartSqlMigrateExecutableTest.php
index 7e04abe..9d62a68 100644
--- a/tests/src/Kernel/SmartSqlMigrateExecutableTest.php
+++ b/tests/src/Kernel/SmartSqlMigrateExecutableTest.php
@@ -2,6 +2,8 @@
 
 namespace Drupal\Tests\smart_sql_idmap\Kernel;
 
+use Drupal\Component\Utility\DeprecationHelper;
+use Drupal\Core\Database\Statement\FetchAs;
 use Drupal\Component\Utility\NestedArray;
 use Drupal\migrate\MigrateExecutable;
 use Drupal\migrate\Plugin\migrate\id_map\Sql;
@@ -160,11 +162,15 @@ class SmartSqlMigrateExecutableTest extends MigrateTestBase {
    */
   protected function getRecordsOfSqlIdMap(Sql $id_map) {
     $map_table_name = $id_map->mapTableName();
-    return \Drupal::database()
+    return DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '11.2.0', fn() => \Drupal::database()
       ->select($map_table_name, $map_table_name)
       ->fields($map_table_name)
       ->execute()
-      ->fetchAll(\PDO::FETCH_ASSOC);
+      ->fetchAll(FetchAs::Associative), fn() => \Drupal::database()
+      ->select($map_table_name, $map_table_name)
+      ->fields($map_table_name)
+      ->execute()
+      ->fetchAll(\PDO::FETCH_ASSOC));
   }
 
 }
diff --git a/tests/src/Unit/TestSmartSqlIdMap.php b/tests/src/Unit/TestSmartSqlIdMap.php
index 61f1b32..ae7a9cc 100644
--- a/tests/src/Unit/TestSmartSqlIdMap.php
+++ b/tests/src/Unit/TestSmartSqlIdMap.php
@@ -2,6 +2,7 @@
 
 namespace Drupal\Tests\smart_sql_idmap\Unit;
 
+use Drupal\Component\Utility\DeprecationHelper;
 use Drupal\Core\Database\Connection;
 use Drupal\migrate\MigrateException;
 use Drupal\migrate\Plugin\MigrationInterface;
@@ -59,7 +60,7 @@ class TestSmartSqlIdMap extends SmartSql implements \Iterator {
    */
   public function getMigrationPluginManager() {
     // @phpstan-ignore-next-line
-    return parent::getMigrationPluginManager();
+    return DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '11.0.0', fn() => $this->migrationPluginManager, fn() => parent::getMigrationPluginManager());
     // phpcs:enable
   }
 
