[#4393] added Planning Center OAuth2 provider

Co-authored-by: alxjsn <alxjsn@sameorigin.org>
This commit is contained in:
Gani Georgiev
2024-02-24 08:46:22 +02:00
parent 4fba93e834
commit 4f46222de9
41 changed files with 247 additions and 88 deletions
+9
View File
@@ -234,4 +234,13 @@ func TestNewProviderByName(t *testing.T) {
if _, ok := p.(*auth.Bitbucket); !ok {
t.Error("Expected to be instance of *auth.Bitbucket")
}
// planningcenter
p, err = auth.NewProviderByName(auth.NamePlanningcenter)
if err != nil {
t.Errorf("Expected nil, got error %v", err)
}
if _, ok := p.(*auth.Planningcenter); !ok {
t.Error("Expected to be instance of *auth.Planningcenter")
}
}