aboutsummaryrefslogtreecommitdiff
path: root/tests/database.nim
diff options
context:
space:
mode:
authorJulien Dessaux2021-10-31 00:31:45 +0200
committerJulien Dessaux2021-10-31 00:31:45 +0200
commitafc61f07e0cb9b2dea24f7602823657bbb454fe4 (patch)
tree1b5c7502fdcb70b0d53155ec1fddcc37caf86fd6 /tests/database.nim
parentAdded security headers to non caching requests (diff)
downloadshort-afc61f07e0cb9b2dea24f7602823657bbb454fe4.tar.gz
short-afc61f07e0cb9b2dea24f7602823657bbb454fe4.tar.bz2
short-afc61f07e0cb9b2dea24f7602823657bbb454fe4.zip
Replaced uuid with the shorter nanoids
Diffstat (limited to '')
-rw-r--r--tests/database.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/database.nim b/tests/database.nim
index 3ebbcca..c763e6f 100644
--- a/tests/database.nim
+++ b/tests/database.nim
@@ -11,7 +11,7 @@ suite "database":
let db = openDatabase(":memory:")
check db.Migrate() == true
let u = ShortUrl(
- Token: parseUUID("ca69c4b5-75a7-4acc-8384-316d41ef59c7"),
+ Token: "Az0f8uSeK9",
Title: "title",
Url: "url",
Created: testingNow,