Skip to content

Commit ff57330

Browse files
staabmsebastianbergmann
authored andcommitted
naming
1 parent bb18527 commit ff57330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/Framework/TestCaseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TestCaseTest extends TestCase
2222
{
2323
protected static int $testStatic = 456;
2424

25-
public static function provideDataSetAsStringWithData(): iterable
25+
public static function provideDataSetAsStringWithDataProvider(): iterable
2626
{
2727
yield ['', 'dataSet', []];
2828

@@ -94,7 +94,7 @@ public function testGetNameReturnsMethodName(): void
9494
$this->assertSame($methodName, $testCase->nameWithDataSet());
9595
}
9696

97-
#[DataProvider('provideDataSetAsStringWithData')]
97+
#[DataProvider('provideDataSetAsStringWithDataProvider')]
9898
public function testDataSetAsStringWithData(string $expectedData, int|string $dataName, array $data): void
9999
{
100100
$testCase = new TestWithDifferentNames('testWithName');

0 commit comments

Comments
 (0)