Skip to content

Commit

Permalink
Fix data provider name
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jun 20, 2023
1 parent a202411 commit 6ced1ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TimeZoneOffsetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,15 @@ public function providerParseInvalidStringThrowsException(): array
}

/**
* @dataProvider providerParseValueStringThrowsException
* @dataProvider providerParseInvalidValueThrowsException
*/
public function testParseInvalidValueThrowsException(string $text): void
{
$this->expectException(DateTimeException::class);
TimeZoneOffset::parse($text);
}

public function providerParseValueStringThrowsException(): iterable
public function providerParseInvalidValueThrowsException(): iterable
{
yield from [
['+18:00:01'],
Expand Down

0 comments on commit 6ced1ab

Please sign in to comment.