Browse Source

Add test for #507

Maurits van der Schee 5 years ago
parent
commit
4fa1643057

+ 18
- 0
tests/functional/001_records/078_edit_event_with_nullable_bigint.log View File

23
 Content-Length: 56
23
 Content-Length: 56
24
 
24
 
25
 {"id":1,"name":"Launch","datetime":null,"visitors":null}
25
 {"id":1,"name":"Launch","datetime":null,"visitors":null}
26
+===
27
+PUT /records/events/1
28
+
29
+{"datetime":"2016-01-01 13:01:01","visitors":0}
30
+===
31
+200
32
+Content-Type: application/json
33
+Content-Length: 1
34
+
35
+1
36
+===
37
+GET /records/events/1
38
+===
39
+200
40
+Content-Type: application/json
41
+Content-Length: 70
42
+
43
+{"id":1,"name":"Launch","datetime":"2016-01-01 13:01:01","visitors":0}

Loading…
Cancel
Save