mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Implement SAML endpoints for APIv4 (#5671)
* Implement SAML endpoints for APIv4 * Fix unit test * Only disable encryption when removing puplic/private certs
This commit is contained in:
committed by
George Goldberg
parent
fe38d6d5bb
commit
3559fb7959
19
api4/saml_test.go
Normal file
19
api4/saml_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
package api4
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetSamlMetadata(t *testing.T) {
|
||||
th := Setup().InitBasic().InitSystemAdmin()
|
||||
defer TearDown()
|
||||
Client := th.Client
|
||||
|
||||
_, resp := Client.GetSamlMetadata()
|
||||
CheckNotImplementedStatus(t, resp)
|
||||
|
||||
// Rest is tested by enterprise tests
|
||||
}
|
||||
Reference in New Issue
Block a user