summaryrefslogtreecommitdiffstats
path: root/api4/system_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/system_test.go')
-rw-r--r--api4/system_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/api4/system_test.go b/api4/system_test.go
index 3afcf633c..1b2bb5d99 100644
--- a/api4/system_test.go
+++ b/api4/system_test.go
@@ -308,18 +308,18 @@ func TestGetLogs(t *testing.T) {
logs, resp := th.SystemAdminClient.GetLogs(0, 10)
CheckNoError(t, resp)
- // if len(logs) != 10 {
- // t.Log(len(logs))
- // t.Fatal("wrong length")
- // }
+ if len(logs) != 10 {
+ t.Log(len(logs))
+ t.Fatal("wrong length")
+ }
logs, resp = th.SystemAdminClient.GetLogs(1, 10)
CheckNoError(t, resp)
- // if len(logs) != 10 {
- // t.Log(len(logs))
- // t.Fatal("wrong length")
- // }
+ if len(logs) != 10 {
+ t.Log(len(logs))
+ t.Fatal("wrong length")
+ }
logs, resp = th.SystemAdminClient.GetLogs(-1, -1)
CheckNoError(t, resp)