8000 fix test · priyadi/symfony@c478206 · GitHub
[go: up one dir, main page]

Skip to content

Commit c478206

Browse files
committed
fix test
1 parent 6362885 commit c478206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarExporter/Tests/LazyProxyTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public function testReadOnlyClass()
257257
{
258258
if (\PHP_VERSION_ID < 80300) {
259259
$this->expectException(LogicException::class);
260-
$this->expectExceptionMessage('Cannot generate lazy proxy: class "Symfony\Component\VarExporter\Tests\Fixtures\LazyProxy\ReadOnlyClass" is readonly.');
260+
$this->expectExceptionMessage('Cannot generate lazy proxy with PHP < 8.3: class "Symfony\Component\VarExporter\Tests\Fixtures\LazyProxy\ReadOnlyClass" is readonly.');
261261
}
262262

263263
$proxy = $this->createLazyProxy(ReadOnlyClass::class, fn () => new ReadOnlyClass(123));

0 commit comments

Comments
 (0)
0