1
0
Fork 0
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:
Harvey Kandola 2017-07-18 22:03:23 +01:00
parent cf58f8164d
commit fe05cf7bb5
16 changed files with 69 additions and 64 deletions

View file

@ -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{