summaryrefslogtreecommitdiffstats
path: root/api4/data_retention_test.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-10-02 12:43:21 +0100
committerGitHub <noreply@github.com>2017-10-02 12:43:21 +0100
commit76bd1bb212177824379c485c553e54530a854009 (patch)
treef4b3c41ff3ff72c96ab58e944e4254bfca4fd8be /api4/data_retention_test.go
parent9bc7af0c5704bbf73f8240b4569d5ea215352e39 (diff)
downloadchat-76bd1bb212177824379c485c553e54530a854009.tar.gz
chat-76bd1bb212177824379c485c553e54530a854009.tar.bz2
chat-76bd1bb212177824379c485c553e54530a854009.zip
PLT-7705: API to get data retention policy. (#7539)
* PLT-7705: API to get data retention policy. * Fix review comments.
Diffstat (limited to 'api4/data_retention_test.go')
-rw-r--r--api4/data_retention_test.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/api4/data_retention_test.go b/api4/data_retention_test.go
new file mode 100644
index 000000000..9a0b35ea6
--- /dev/null
+++ b/api4/data_retention_test.go
@@ -0,0 +1,16 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package api4
+
+import (
+ "testing"
+)
+
+func TestDataRetentionGetPolicy(t *testing.T) {
+ th := Setup().InitBasic()
+ defer TearDown()
+
+ _, resp := th.Client.GetDataRetentionPolicy()
+ CheckNotImplementedStatus(t, resp)
+}