summaryrefslogtreecommitdiffstats
path: root/api4/data_retention_test.go
diff options
context:
space:
mode:
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)
+}