1
0
mirror of https://github.com/danog/file.git synced 2024-11-29 20:09:10 +01:00

Don't use backslash in fixture

This commit is contained in:
Niklas Keller 2017-06-18 00:26:34 +02:00
parent 0708ba14b3
commit 7d2c28dd37

View File

@ -10,7 +10,7 @@ final class Fixture {
self::$fixtureId = \uniqid();
}
return \sys_get_temp_dir() . "/amphp_file_fixture/" . __CLASS__ . self::$fixtureId;
return \sys_get_temp_dir() . "/amphp_file_fixture/" . strtr(__CLASS__, "\\", ".") . self::$fixtureId;
}
public static function init() {