[#5346] added monday.com OAuth2 provider

Co-authored-by: Jay <jaytpa01@gmail.com>
This commit is contained in:
Gani GeorgievandJay committed 2024-10-10 15:42:59 +03:00
1 parent 397b69041e
commit 830e818eb7
32 files changed
+169 -35

No files matched your search

+10 -1
View File
@@ -7,7 +7,7 @@ import (
)
func TestProvidersCount(t *testing.T) {
expected := 26
expected := 27
if total := len(auth.Providers); total != expected {
t.Fatalf("Expected %d providers, got %d", expected, total)
@@ -260,4 +260,13 @@ func TestNewProviderByName(t *testing.T) {
if _, ok := p.(*auth.Notion); !ok {
t.Error("Expected to be instance of *auth.Notion")
}
// monday
p, err = auth.NewProviderByName(auth.NameMonday)
if err != nil {
t.Errorf("Expected nil, got error %v", err)
}
if _, ok := p.(*auth.Monday); !ok {
t.Error("Expected to be instance of *auth.Monday")
}
}