We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa7328 commit d8c64bbCopy full SHA for d8c64bb
tests/modules/localgov_forms_test/src/Driver/Database/FakeLts/Connection.php
@@ -4,6 +4,8 @@
4
5
namespace Drupal\localgov_forms_test\Driver\Database\FakeLts;
6
7
+use Drupal\Core\Database\Transaction\TransactionManagerInterface;
8
+use Drupal\mysql\Driver\Database\mysql\TransactionManager;
9
use Drupal\Tests\Core\Database\Stub\StubConnection;
10
use Drupal\Tests\Core\Database\Stub\StubPDO;
11
@@ -29,4 +31,11 @@ public static function open(array &$connection_options = []) {
29
31
return new StubPDO();
30
32
}
33
34
+ /**
35
+ * {@inheritdoc}
36
+ */
37
+ protected function driverTransactionManager(): TransactionManagerInterface {
38
+ return new TransactionManager($this);
39
+ }
40
+
41
0 commit comments