Skip to content

Commit e20299b

Browse files
Merge pull request #179 from stackkit/bugfix/tests
Fix test
2 parents c4d8be4 + 43a6df8 commit e20299b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/ConfigHandlerTest.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
use Tests\Support\SimpleJob;
88
use Google\Cloud\Tasks\V2\Task;
99
use PHPUnit\Framework\Attributes\Test;
10+
use PHPUnit\Framework\Attributes\DataProvider;
1011
use Stackkit\LaravelGoogleCloudTasksQueue\CloudTasksApi;
1112

1213
class ConfigHandlerTest extends TestCase
1314
{
14-
/**
15-
* @dataProvider handlerDataProvider
16-
*/
15+
#[DataProvider('handlerDataProvider')]
1716
public function test_it_allows_a_handler_url_to_contain_path(string $handler, string $expectedHandler): void
1817
{
1918
CloudTasksApi::fake();

0 commit comments

Comments
 (0)