summaryrefslogtreecommitdiffstats
path: root/api/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/user_test.go')
-rw-r--r--api/user_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user_test.go b/api/user_test.go
index 5a398a716..bf1059d2a 100644
--- a/api/user_test.go
+++ b/api/user_test.go
@@ -634,7 +634,7 @@ func TestGetAudits(t *testing.T) {
t.Fatal(err)
} else {
- if len(result.Data.(model.Audits)) != 2 {
+ if len(result.Data.(model.Audits)) != 1 {
t.Fatal(result.Data.(model.Audits))
}