aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/ConnectionFactoryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/DB/ConnectionFactoryTest.php')
-rw-r--r--tests/lib/DB/ConnectionFactoryTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/DB/ConnectionFactoryTest.php b/tests/lib/DB/ConnectionFactoryTest.php
index fe744cf1791..d09a83ca856 100644
--- a/tests/lib/DB/ConnectionFactoryTest.php
+++ b/tests/lib/DB/ConnectionFactoryTest.php
@@ -28,10 +28,10 @@ class ConnectionFactoryTest extends TestCase {
}
/**
- * @dataProvider splitHostFromPortAndSocketData
* @param string $host
* @param array $expected
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('splitHostFromPortAndSocketData')]
public function testSplitHostFromPortAndSocket($host, array $expected): void {
/** @var SystemConfig $config */
$config = $this->createMock(SystemConfig::class);