Added tests for Databases and Collections

This commit is contained in:
Pijus Kamandulis committed 2024-02-10 20:17:33 +02:00
1 parent 5dc7d87fba
commit 0689119a64
6 files changed
+305 -14

No files matched your search

+3
View File
@@ -45,6 +45,9 @@ func CreateCollection(databaseId string, newCollection Collection) RepositorySta
}
}
newCollection.internals = struct{ databaseId string }{
databaseId: databaseId,
}
collections = append(collections, newCollection)
return StatusOk
}