mirror of
https://github.com/pikami/cosmium.git
synced 2025-12-21 01:40:49 +00:00
Added tests for Databases and Collections
This commit is contained in:
@@ -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