aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Stream/HashWrapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/Stream/HashWrapperTest.php')
-rw-r--r--tests/lib/Files/Stream/HashWrapperTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/Files/Stream/HashWrapperTest.php b/tests/lib/Files/Stream/HashWrapperTest.php
index 66dee77b607..459bc5c4318 100644
--- a/tests/lib/Files/Stream/HashWrapperTest.php
+++ b/tests/lib/Files/Stream/HashWrapperTest.php
@@ -12,9 +12,7 @@ use OC\Files\Stream\HashWrapper;
use Test\TestCase;
class HashWrapperTest extends TestCase {
- /**
- * @dataProvider hashProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('hashProvider')]
public function testHashStream($data, string $algo, string $hash): void {
if (!is_resource($data)) {
$tmpData = fopen('php://temp', 'r+');