mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
test(mockconfig): generate unique upload paths
This stops multiple concurrently running tests disturbing each other. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
424841de6d
commit
3a47e962ea
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ export default registerAs('mediaConfig', () => ({
|
|||
backend: {
|
||||
use: 'filesystem',
|
||||
filesystem: {
|
||||
uploadPath: 'test_uploads',
|
||||
uploadPath:
|
||||
'test_uploads' + Math.floor(Math.random() * 100000).toString(),
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue