Skip to content

Commit

Permalink
Phpstan-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-worman committed Feb 12, 2025
1 parent b672473 commit 7837dd4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/Entity/JsonPointerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,4 @@ public function testJsonPointerWithPropertyPaths(): void
$this->assertEquals(['~definitions/general', '%custom%'], $modified->getPropertyPaths());
$this->assertEquals('#/~0definitions~1general/%25custom%25', $modified->getPropertyPathAsString());
}

public function testCreateWithInvalidValue(): void
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Ref value must be a string');

new JsonPointer(null);
}
}

0 comments on commit 7837dd4

Please sign in to comment.