浏览代码

Add test for #507

Maurits van der Schee 5 年前
父节点
当前提交
4fa1643057
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18
    0
      tests/functional/001_records/078_edit_event_with_nullable_bigint.log

+ 18
- 0
tests/functional/001_records/078_edit_event_with_nullable_bigint.log 查看文件

@@ -23,3 +23,21 @@ Content-Type: application/json
23 23
 Content-Length: 56
24 24
 
25 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}

正在加载...
取消
保存