Skip to content

Commit f464fac

Browse files
committed
test: fix data provider method names
1 parent 5b00242 commit f464fac

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/system/HTTP/SiteURITest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function provideConstructor(): iterable
6565
return array_merge($this->provideURIs(), $this->provideRelativePathWithQueryOrFragment());
6666
}
6767

68-
public function provideURIs(): iterable
68+
public function provideSetPath(): iterable
6969
{
7070
return [
7171
'' => [
@@ -315,7 +315,7 @@ public function testConstructorInvalidBaseURL()
315315
}
316316

317317
/**
318-
* @dataProvider provideURIs
318+
* @dataProvider provideSetPath
319319
*/
320320
public function testSetPath(
321321
string $baseURL,

tests/system/Helpers/ArrayHelperTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ public function provideArrayFlattening(): iterable
500500
}
501501

502502
/**
503-
* @dataProvider arrayGroupByIncludeEmptyProvider
503+
* @dataProvider provideArrayGroupByIncludeEmpty
504504
*/
505505
public function testArrayGroupByIncludeEmpty(array $indexes, array $data, array $expected): void
506506
{
@@ -510,7 +510,7 @@ public function testArrayGroupByIncludeEmpty(array $indexes, array $data, array
510510
}
511511

512512
/**
513-
* @dataProvider arrayGroupByExcludeEmptyProvider
513+
* @dataProvider provideArrayGroupByExcludeEmpty
514514
*/
515515
public function testArrayGroupByExcludeEmpty(array $indexes, array $data, array $expected): void
516516
{
@@ -519,7 +519,7 @@ public function testArrayGroupByExcludeEmpty(array $indexes, array $data, array
519519
$this->assertSame($expected, $actual, 'array excluding empty not the same');
520520
}
521521

522-
public function arrayGroupByIncludeEmptyProvider(): iterable
522+
public function provideArrayGroupByIncludeEmpty(): iterable
523523
{
524524
yield 'simple group-by test' => [
525525
['color'],
@@ -930,7 +930,7 @@ public function arrayGroupByIncludeEmptyProvider(): iterable
930930
];
931931
}
932932

933-
public function arrayGroupByExcludeEmptyProvider(): iterable
933+
public function provideArrayGroupByExcludeEmpty(): iterable
934934
{
935935
yield 'simple group-by test' => [
936936
['color'],

0 commit comments

Comments
 (0)