added pseudorandom generator

This commit is contained in:
Gani Georgiev committed 2022-11-06 15:26:34 +02:00
1 parent 46dc6cc47c
commit 4cddb6b5cb
9 files changed
+89 -47

No files matched your search

+1 -1
View File
@@ -494,7 +494,7 @@ func TestCollectionUpsertWithCustomId(t *testing.T) {
newCollection := func() *models.Collection {
return &models.Collection{
Name: "c_" + security.RandomString(4),
Name: "c_" + security.PseudoRandomString(4),
Schema: existingCollection.Schema,
}
}