Skip to content

Commit

Permalink
Honor PHP temp directory config (#6)
Browse files Browse the repository at this point in the history
Honor PHP temp directory config
  • Loading branch information
theseer authored Dec 29, 2019
2 parents b54265b + 72a6718 commit 3d94e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ManifestSerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function dataProvider() {
*/
public function testCanSerializeToFile(): void {
$src = __DIR__ . '/_fixture/library.xml';
$dest = '/tmp/' . \uniqid('serializer', true);
$dest = \sys_get_temp_dir() . '/' . \uniqid('serializer', true);
$manifest = ManifestLoader::fromFile($src);
$serializer = new ManifestSerializer();
$serializer->serializeToFile($manifest, $dest);
Expand Down

0 comments on commit 3d94e3b

Please sign in to comment.