Browse Source

improve test

Maurits van der Schee 6 years ago
parent
commit
ab04ddf0be
1 changed files with 12 additions and 2 deletions
  1. 12
    2
      tests/functional/001_records/069_increment_event_visitors.log

+ 12
- 2
tests/functional/001_records/069_increment_event_visitors.log View File

@@ -14,6 +14,16 @@ PATCH /records/events/1
14 14
 Content-Type: application/json
15 15
 Content-Length: 1
16 16
 
17
+1
18
+===
19
+PATCH /records/events/1
20
+
21
+{"visitors":1}
22
+===
23
+200
24
+Content-Type: application/json
25
+Content-Length: 1
26
+
17 27
 1
18 28
 ===
19 29
 PATCH /records/events/1,1
@@ -32,11 +42,11 @@ GET /records/events/1?columns=visitors
32 42
 Content-Type: application/json
33 43
 Content-Length: 14
34 44
 
35
-{"visitors":3}
45
+{"visitors":4}
36 46
 ===
37 47
 PATCH /records/events/1
38 48
 
39
-{"visitors":-3}
49
+{"visitors":-4}
40 50
 ===
41 51
 200
42 52
 Content-Type: application/json

Loading…
Cancel
Save