mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Add AppService to test config and bind addrs (#800)
Because our unit tests are often forgotten about :/
This commit is contained in:
parent
7d77538ca4
commit
9a56cf8439
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,7 @@ func MakeConfig(configDir, kafkaURI, database, host string, startPort int) (*con
|
||||||
// the table names are globally unique. But we might not want to
|
// the table names are globally unique. But we might not want to
|
||||||
// rely on that in the future.
|
// rely on that in the future.
|
||||||
cfg.Database.Account = config.DataSource(database)
|
cfg.Database.Account = config.DataSource(database)
|
||||||
|
cfg.Database.AppService = config.DataSource(database)
|
||||||
cfg.Database.Device = config.DataSource(database)
|
cfg.Database.Device = config.DataSource(database)
|
||||||
cfg.Database.MediaAPI = config.DataSource(database)
|
cfg.Database.MediaAPI = config.DataSource(database)
|
||||||
cfg.Database.RoomServer = config.DataSource(database)
|
cfg.Database.RoomServer = config.DataSource(database)
|
||||||
|
@ -99,6 +100,7 @@ func MakeConfig(configDir, kafkaURI, database, host string, startPort int) (*con
|
||||||
cfg.Database.PublicRoomsAPI = config.DataSource(database)
|
cfg.Database.PublicRoomsAPI = config.DataSource(database)
|
||||||
|
|
||||||
cfg.Listen.ClientAPI = assignAddress()
|
cfg.Listen.ClientAPI = assignAddress()
|
||||||
|
cfg.Listen.AppServiceAPI = assignAddress()
|
||||||
cfg.Listen.FederationAPI = assignAddress()
|
cfg.Listen.FederationAPI = assignAddress()
|
||||||
cfg.Listen.MediaAPI = assignAddress()
|
cfg.Listen.MediaAPI = assignAddress()
|
||||||
cfg.Listen.RoomServer = assignAddress()
|
cfg.Listen.RoomServer = assignAddress()
|
||||||
|
|
Loading…
Reference in a new issue