MM-8593 Default APIv3 to disabled for new installs (#8353)

* Default APIv3 to disabled for new installs

* Add EnableAPIv3 setting to client config

* Enable APIv3 for needed tests
This commit is contained in:
Joram Wilander
2018-02-23 10:55:02 -05:00
committed by Christopher Speller
parent 4211a2bb3c
commit 5fb4b1bc93
4 changed files with 4 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ func setupTestHelper(enterprise bool) *TestHelper {
*cfg.TeamSettings.MaxUsersPerTeam = 50
*cfg.RateLimitSettings.Enable = false
cfg.EmailSettings.SendEmailNotifications = true
*cfg.ServiceSettings.EnableAPIv3 = true
})
prevListenAddress := *th.App.Config().ServiceSettings.ListenAddress
if testStore != nil {