From 400cf5b839426f3d3e7164126b3d5487f59c25da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sat, 29 Jan 2022 11:04:26 +0100 Subject: [PATCH] Fix: Rename methods --- test/Unit/ReferenceTokenTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Unit/ReferenceTokenTest.php b/test/Unit/ReferenceTokenTest.php index f0fbb45c..56b784b4 100644 --- a/test/Unit/ReferenceTokenTest.php +++ b/test/Unit/ReferenceTokenTest.php @@ -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); @@ -44,7 +44,7 @@ public function testFromEscapedJsonStringRejectsInvalidValue(string $value): voi * * @return \Generator */ - public function provideInvalidEscapedStringValue(): \Generator + public function provideInvalidJsonStringValue(): \Generator { $values = [ 'property-with-unescaped-forward-slash' => 'foo/bar',