Skip to content

Commit

Permalink
dataprovider to attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Dec 6, 2024
1 parent 823fc76 commit d69f6bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/Symmetric/LegacyOpensslCipherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ protected function tearDown(): void
*
* @return void
*
* @dataProvider methodsLegacyProvider
*/
#[\PHPUnit\Framework\Attributes\DataProvider('methodsLegacyProvider')]
public function testLegacy(string $method, string $str): void
{
$key = new Key('foo');
Expand Down
2 changes: 1 addition & 1 deletion test/Symmetric/OpensslCipherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ protected function tearDown(): void
*
* @return void
*
* @dataProvider methodsProvider
*/
#[\PHPUnit\Framework\Attributes\DataProvider('methodsProvider')]
public function testEncrypt(string $method): void
{
$methods = openssl_get_cipher_methods(true);
Expand Down

0 comments on commit d69f6bc

Please sign in to comment.