aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/includes/dba/TransactionTest.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-05-27 06:17:05 +0000
committerMario <mario@mariovavti.com>2024-05-27 06:17:05 +0000
commit84abf28ceca3632c22983f23326297c17b994224 (patch)
treefcc58ecd7ad3c9f9768c168d5a15f557545a52ad /tests/unit/includes/dba/TransactionTest.php
parenta10402a7883efd4886ad17c8133c10237f443181 (diff)
parentcad82d12d2aad1a54fa821061dd3dc1ffc732c5a (diff)
downloadvolse-hubzilla-84abf28ceca3632c22983f23326297c17b994224.tar.gz
volse-hubzilla-84abf28ceca3632c22983f23326297c17b994224.tar.bz2
volse-hubzilla-84abf28ceca3632c22983f23326297c17b994224.zip
Merge branch 'update-phpunit-10x' into 'dev'
Upgrade test framework to PHPUnit 10.5 See merge request hubzilla/core!2128
Diffstat (limited to 'tests/unit/includes/dba/TransactionTest.php')
-rw-r--r--tests/unit/includes/dba/TransactionTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/includes/dba/TransactionTest.php b/tests/unit/includes/dba/TransactionTest.php
index 99e3f459d..0b986c6aa 100644
--- a/tests/unit/includes/dba/TransactionTest.php
+++ b/tests/unit/includes/dba/TransactionTest.php
@@ -24,8 +24,8 @@
require_once 'tests/fakes/fake_dba.php';
require_once 'include/dba/dba_transaction.php';
-use \PHPUnit\Framework\TestCase;
-use \Zotlabs\Tests\Fakes\FakeDba;
+use PHPUnit\Framework\TestCase;
+use Zotlabs\Tests\Fakes\FakeDba;
/**
* Test database transactions.
@@ -39,7 +39,7 @@ class DbaTransactionTest extends TestCase {
private $pdo_stub;
public function setUp(): void {
- $this->pdo_stub = $this->createStub(PDO::class);
+ $this->pdo_stub = $this->createMock(PDO::class);
}