Skip to content

Commit

Permalink
Update SimpleStringGeneratorTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed May 17, 2024
1 parent eaa6aa3 commit 74b3abe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Unit/Services/SimpleStringGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Tests\Unit\Services;

use App\Services\KeyGeneratorService;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes as PHPUnit;
use Tests\TestCase;

#[\PHPUnit\Framework\Attributes\Group('services')]
#[\PHPUnit\Framework\Attributes\Group('key-generator')]
#[PHPUnit\Group('services')]
#[PHPUnit\Group('key-generator')]
class SimpleStringGeneratorTest extends TestCase
{
private KeyGeneratorService $generator;
Expand Down Expand Up @@ -43,7 +43,7 @@ public static function generateSimpleStringProvider(): array
];
}

#[DataProvider('generateSimpleStringProvider')]
#[PHPUnit\DataProvider('generateSimpleStringProvider')]
public function testGenerateSimpleStringMethod($expected, $actual): void
{
config(['urlhub.keyword_length' => 5]);
Expand Down

0 comments on commit 74b3abe

Please sign in to comment.