@@ -40,8 +40,8 @@ describe('issue.test.js', function () {
40
40
should . not . exists ( err ) ;
41
41
row . id . should . equal ( issueId ) ;
42
42
row . should . have . keys ( 'id' , 'iid' , 'project_id' , 'title' , 'description' , 'labels' ,
43
- 'milestone' , 'assignee' , 'author' , 'state' ,
44
- 'updated_at ' , 'created_at ' ) ;
43
+ 'milestone' , 'assignee' , 'author' , 'state' , 'updated_at' , 'created_at' ,
44
+ 'subscribed ' , 'user_notes_count ' ) ;
45
45
done ( ) ;
46
46
} ) ;
47
47
} ) ;
@@ -51,8 +51,8 @@ describe('issue.test.js', function () {
51
51
. then ( function ( row ) {
52
52
row . id . should . equal ( issueId ) ;
53
53
row . should . have . keys ( 'id' , 'iid' , 'project_id' , 'title' , 'description' , 'labels' ,
54
- 'milestone' , 'assignee' , 'author' , 'state' ,
55
- 'updated_at ' , 'created_at ' ) ;
54
+ 'milestone' , 'assignee' , 'author' , 'state' , 'updated_at' , 'created_at' ,
55
+ 'subscribed ' , 'user_notes_count ' ) ;
56
56
done ( ) ;
57
57
} )
58
58
. catch ( done ) ;
@@ -62,8 +62,8 @@ describe('issue.test.js', function () {
62
62
var row = yield client . thunk . issues . get ( { id : client . id , issue_id : issueId } ) ;
63
63
row . id . should . equal ( issueId ) ;
64
64
row . should . have . keys ( 'id' , 'iid' , 'project_id' , 'title' , 'description' , 'labels' ,
65
- 'milestone' , 'assignee' , 'author' , 'state' ,
66
- 'updated_at ' , 'created_at ' ) ;
65
+ 'milestone' , 'assignee' , 'author' , 'state' , 'updated_at' , 'created_at' ,
66
+ 'subscribed ' , 'user_notes_count ' ) ;
67
67
} ) ;
68
68
} ) ;
69
69
@@ -75,8 +75,8 @@ describe('issue.test.js', function () {
75
75
issues . length . should . above ( 0 ) ;
76
76
var row = issues [ 0 ] ;
77
77
row . should . have . keys ( 'id' , 'iid' , 'project_id' , 'title' , 'description' , 'labels' ,
78
- 'milestone' , 'assignee' , 'author' , 'state' ,
79
- 'updated_at ' , 'created_at ' ) ;
78
+ 'milestone' , 'assignee' , 'author' , 'state' , 'updated_at' , 'created_at' ,
79
+ 'subscribed ' , 'user_notes_count ' ) ;
80
80
done ( ) ;
81
81
} ) ;
82
82
} ) ;
@@ -139,7 +139,8 @@ describe('issue.test.js', function () {
139
139
should . not . exists ( err ) ;
140
140
rows . length . should . above ( 0 ) ;
141
141
var row = rows [ 0 ] ;
142
- row . should . have . keys ( 'id' , 'body' , 'author' , 'created_at' , 'attachment' ) ;
142
+ row . should . have . keys ( 'id' , 'body' , 'author' , 'created_at' , 'attachment' ,
143
+ 'updated_at' , 'system' , 'noteable_id' , 'noteable_type' , 'upvote' , 'downvote' ) ;
143
144
done ( ) ;
144
145
} ) ;
145
146
} ) ;
@@ -148,7 +149,8 @@ describe('issue.test.js', function () {
148
149
var rows = yield client . thunk . issues . listNotes ( { id : client . id , issue_id : issueId } ) ;
149
150
rows . length . should . above ( 0 ) ;
150
151
var row = rows [ 0 ] ;
151
- row . should . have . keys ( 'id' , 'body' , 'author' , 'created_at' , 'attachment' ) ;
152
+ row . should . have . keys ( 'id' , 'body' , 'author' , 'created_at' , 'attachment' ,
153
+ 'updated_at' , 'system' , 'noteable_id' , 'noteable_type' , 'upvote' , 'downvote' ) ;
152
154
} ) ;
153
155
} ) ;
154
156
0 commit comments