mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
refactored unique ID generator package
This commit is contained in:
parent
cf58f8164d
commit
fe05cf7bb5
16 changed files with 69 additions and 64 deletions
|
@ -25,7 +25,7 @@ import (
|
|||
var lsp LocalStorageProvider
|
||||
|
||||
func TestUpload(t *testing.T) {
|
||||
jb := "job" + util.UniqueID()
|
||||
jb := "job" + uniqueid.Generate()
|
||||
fn := "file.txt"
|
||||
cont := "content\n"
|
||||
err := lsp.Upload(jb, fn, []byte(cont))
|
||||
|
@ -54,7 +54,7 @@ func TestConvert(t *testing.T) {
|
|||
}
|
||||
defer log.IfErr(plugins.Lib.KillSubProcs())
|
||||
|
||||
jb := "job" + util.UniqueID()
|
||||
jb := "job" + uniqueid.Generate()
|
||||
|
||||
_, _, err =
|
||||
lsp.Convert(api.ConversionJobRequest{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue