$root]); // Emptied per test, not just per file. RefreshDatabase rolls back, // so session ids restart at 1 in every test — two tests in the // same worker reuse the same directory name, and a run that // crashed before its cleanup leaves the previous one's parts // sitting there under the id the next test is about to claim. File::deleteDirectory($root); } }