mirror of
https://github.com/pikami/cosmium.git
synced 2026-11-04 23:45:50 +00:00
Added tests for Databases and Collections
This commit is contained in:
1 parent
5dc7d87fba
commit
0689119a64
6 files changed
+305
-14
No files matched your search
@@ -45,6 +45,9 @@ func CreateCollection(databaseId string, newCollection Collection) RepositorySta
|
||||
}
|
||||
}
|
||||
|
||||
newCollection.internals = struct{ databaseId string }{
|
||||
databaseId: databaseId,
|
||||
}
|
||||
collections = append(collections, newCollection)
|
||||
return StatusOk
|
||||
}
|
||||
Reference in new issue
Block a user