removed mongodb
This commit is contained in:
1 parent
8976b50cc5
commit
f6ec518814
4 files changed
+3
-154
No files matched your search
+1
-23
@@ -11,20 +11,7 @@ port: 9999
|
||||
|
||||
host: 0.0.0.0 #localhost
|
||||
|
||||
# all the params relative to mongodb
|
||||
mongo:
|
||||
# the url where to get mongodb
|
||||
url: localhost:1234
|
||||
|
||||
# the name of the database to use
|
||||
database_name: geography
|
||||
|
||||
# the name of the collection where all the street can be found
|
||||
street_collection: quebec_street_map
|
||||
|
||||
|
||||
# the collection where all the heat map point will be stored
|
||||
heat_map_collection: quebec_heat_map # quebec_heat_map
|
||||
|
||||
`
|
||||
|
||||
func TestLoadFromYamlData(t *testing.T) {
|
||||
@@ -39,14 +26,5 @@ func TestLoadFromYamlData(t *testing.T) {
|
||||
if p.Host != "0.0.0.0" {
|
||||
t.Error("host")
|
||||
}
|
||||
if p.Mongo.Url != "localhost:1234" {
|
||||
t.Error("mongo.url")
|
||||
}
|
||||
if p.Mongo.Url != "localhost:1234" {
|
||||
t.Error("mongo.url")
|
||||
}
|
||||
if p.Mongo.DatabaseName != "geography" {
|
||||
t.Error("mongo.DatabaseName")
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user