From 3559fb7959cf008b038239f2e7c43e604c44cd31 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 13 Mar 2017 08:26:23 -0400 Subject: Implement SAML endpoints for APIv4 (#5671) * Implement SAML endpoints for APIv4 * Fix unit test * Only disable encryption when removing puplic/private certs --- api4/saml_test.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 api4/saml_test.go (limited to 'api4/saml_test.go') diff --git a/api4/saml_test.go b/api4/saml_test.go new file mode 100644 index 000000000..7e4722a3b --- /dev/null +++ b/api4/saml_test.go @@ -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 +} -- cgit v1.2.3-1-g7c22