Skip to content

Commit

Permalink
[BUGFIX] Fix expectation of JSON serialized uri
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed Aug 1, 2024
1 parent 5333a7f commit 0079e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Entity/Security/SecurityAdvisoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function subjectIsJsonSerializable(): void
'reportedAt' => new DateTimeImmutable('2023-02-01 08:00:00'),
'severity' => Src\Entity\Security\SeverityLevel::Medium,
'cve' => 'CVE-2022-24894',
'link' => new Psr7\Uri('https://symfony.com/cve-2022-24894'),
'link' => 'https://symfony.com/cve-2022-24894',
];

self::assertJsonStringEqualsJsonString(
Expand Down

0 comments on commit 0079e68

Please sign in to comment.