aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/ErrorHandlerTest.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-06-30 16:56:59 +0200
committerRobin Appelman <robin@icewind.nl>2025-07-01 22:45:52 +0200
commitaa15f9d16d5b46d04763c7deedb129990e819364 (patch)
tree758e0aebcac34a545f9a21806120a9fcb96f4cb6 /tests/lib/ErrorHandlerTest.php
parent1620a0c0510a42b1da0a66488838f1ce3ba1210d (diff)
downloadnextcloud-server-rector-phpunit10.tar.gz
nextcloud-server-rector-phpunit10.zip
chore: run rectorrector-phpunit10
Signed-off-by: Robin Appelman <robin@icewind.nl>
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';