Skip to content

Commit

Permalink
Fix: Rename methods
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 29, 2022
1 parent 2e205ed commit 400cf5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Unit/ReferenceTokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ final class ReferenceTokenTest extends Framework\TestCase
use Test\Util\Helper;

/**
* @dataProvider provideInvalidEscapedStringValue
* @dataProvider provideInvalidJsonStringValue
*/
public function testFromEscapedJsonStringRejectsInvalidValue(string $value): void
public function testFromJsonStringRejectsInvalidValue(string $value): void
{
$this->expectException(Exception\InvalidReferenceToken::class);

Expand All @@ -44,7 +44,7 @@ public function testFromEscapedJsonStringRejectsInvalidValue(string $value): voi
*
* @return \Generator<string, array{0: string}>
*/
public function provideInvalidEscapedStringValue(): \Generator
public function provideInvalidJsonStringValue(): \Generator
{
$values = [
'property-with-unescaped-forward-slash' => 'foo/bar',
Expand Down

0 comments on commit 400cf5b

Please sign in to comment.