mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 03:33:58 -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
ffeff87171
commit
d4b806bbf8
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