fix filesystem error in test

This commit is contained in:
Daniel Seifert 2024-06-15 23:25:11 +02:00
parent c07fb6c714
commit f31f766cfa
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170

View File

@ -365,7 +365,7 @@ class d3DicHandlerTest extends TestCase
$sut->expects($this->once())->method('d3UseCachedContainer')->willReturn($useCacheContainer);
$sut->expects($this->exactly((int) $useCacheContainer))->method('d3GetCacheContainer');
$sut->expects($this->exactly((int) !$useCacheContainer))->method('getContainerBuilder')->willReturn($containerBuilderMock);
$sut->method('d3GetCacheFilePath')->willReturn($fsRoot->getChild('source_directory')->path().'/DIContainer.php');
$sut->method('d3GetCacheFilePath')->willReturn($fsRoot->getChild('source_directory')->url().'/DIContainer.php');
$sut->method('getPhpDumper')->willReturn($phpDumperMock);
$this->assertInstanceOf(