Этот коммит содержится в:
JoramWilander
2017-04-10 14:47:38 -04:00
родитель 9c3b96661b
Коммит 5c89fe1b8d
2 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@@ -188,8 +188,8 @@ func TestOAuthGetAppsByUser(t *testing.T) {
utils.Cfg.ServiceSettings.EnableOAuthServiceProvider = true
if _, err := Client.GetOAuthAppsByUser(); err != nil {
t.Fatal("Should have passed.")
if _, err := Client.GetOAuthAppsByUser(); err == nil {
t.Fatal("Should have failed.")
}
*utils.Cfg.ServiceSettings.EnableOnlyAdminIntegrations = false