8000 Merge branch '5.4' into 6.0 · symfony/symfony@dd94c20 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd94c20

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Bridge/Doctrine] fix tests
2 parents 317e262 + 911fee3 commit dd94c20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Bridge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use PHPUnit\Framework\TestCase;
1212
use Symfony\Bridge\Doctrine\Middleware\Debug\DebugDataHolder;
1313
use Symfony\Bridge\Doctrine\Middleware\Debug\Middleware;
14+
use Symfony\Bridge\PhpUnit\ClockMock;
1415
use Symfony\Component\Stopwatch\Stopwatch;
1516

1617
/**
@@ -29,6 +30,8 @@ protected function setUp(): void
2930
if (!interface_exists(MiddlewareInterface::class)) {
3031
$this->markTestSkipped(sprintf('%s needed to run this test', MiddlewareInterface::class));
3132
}
33+
34+
ClockMock::withClockMock(false);
3235
}
3336

3437
private function init(bool $withStopwatch = true): void

0 commit comments

Comments
 (0)
0