
Prior to this change, this test would create files in the project directory. This can cause issues with Gradle caching and up-to-date checks. To address this, the value of the working directory is mocked to a temporary directory like all the other tests. See gh-37395