We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0080e0 commit bb544c4Copy full SHA for bb544c4
1 file changed
tests/lib/TempManagerTest.php
@@ -132,7 +132,14 @@ public function testCleanOld(): void {
132
public function testLogCantCreateFile(): void {
133
$logger = $this->createMock(LoggerInterface::class);
134
$manager = $this->getManager($logger);
135
+ var_dump(
136
+ posix_getpwuid(posix_getuid()),
137
+ );
138
+ printf('%o', fileperms($this->baseDir));
139
+ echo PHP_EOL;
140
chmod($this->baseDir, 0500);
141
142
143
$logger->expects($this->once())
144
->method('warning')
145
->with($this->stringContains('Can not create a temporary file in directory'));
0 commit comments