[#1573] added LiveChat OAuth2 provider

Co-authored-by: Marios Antonoudiou <m.antonoudiou@celonis.com>
This commit is contained in:
Gani GeorgievandMarios Antonoudiou committed 2023-01-12 22:17:20 +02:00
1 parent ba7c8e2108
commit 55c6bed57f
45 files changed
+336 -233

No files matched your search

+9
View File
@@ -126,4 +126,13 @@ func TestNewProviderByName(t *testing.T) {
if _, ok := p.(*auth.Gitee); !ok {
t.Error("Expected to be instance of *auth.Gitee")
}
// livechat
p, err = auth.NewProviderByName(auth.NameLivechat)
if err != nil {
t.Errorf("Expected nil, got error %v", err)
}
if _, ok := p.(*auth.Livechat); !ok {
t.Error("Expected to be instance of *auth.Livechat")
}
}