Skip to content

Commit ab04ddf

Browse files
committed
improve test
1 parent 2ca6e2b commit ab04ddf

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tests/functional/001_records/069_increment_event_visitors.log

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ PATCH /records/events/1
1414
Content-Type: application/json
1515
Content-Length: 1
1616

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+
1727
1
1828
===
1929
PATCH /records/events/1,1
@@ -32,11 +42,11 @@ GET /records/events/1?columns=visitors
3242
Content-Type: application/json
3343
Content-Length: 14
3444

35-
{"visitors":3}
45+
{"visitors":4}
3646
===
3747
PATCH /records/events/1
3848

39-
{"visitors":-3}
49+
{"visitors":-4}
4050
===
4151
200
4252
Content-Type: application/json

0 commit comments

Comments
 (0)