Skip to content

Commit

Permalink
Merge pull request #3409 from neos/bugfix/fix-test-for-changed-logging
Browse files Browse the repository at this point in the history
BUGFIX: Fix unit test for changed logging
  • Loading branch information
kitsunet authored Nov 5, 2024
2 parents 8796167 + 75b8527 commit 45b21da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Neos.Flow.Log/Tests/Unit/Backend/FileBackendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function appendRendersALogEntryWithRemoteIpAddressAndAppendsItToTheLogfil
$backend->append('foo');

$pidOffset = function_exists('posix_getpid') ? 10 : 0;
self::assertSame(68 + $pidOffset + strlen(PHP_EOL), vfsStreamWrapper::getRoot()->getChild('test.log')->size());
self::assertSame(69 + $pidOffset + strlen(PHP_EOL), vfsStreamWrapper::getRoot()->getChild('test.log')->size());
}

/**
Expand Down

0 comments on commit 45b21da

Please sign in to comment.