aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/ErrorHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/ErrorHandlerTest.php')
-rw-r--r--tests/lib/ErrorHandlerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/ErrorHandlerTest.php b/tests/lib/ErrorHandlerTest.php
index 00cf8e4c8db..0bec3445d34 100644
--- a/tests/lib/ErrorHandlerTest.php
+++ b/tests/lib/ErrorHandlerTest.php
@@ -55,10 +55,10 @@ class ErrorHandlerTest extends TestCase {
}
/**
- * @dataProvider passwordProvider
* @param string $username
* @param string $password
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('passwordProvider')]
public function testRemovePasswordFromError($username, $password): void {
$url = 'http://' . $username . ':' . $password . '@owncloud.org';
$expectedResult = 'http://xxx:xxx@owncloud.org';