File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ type TestRun struct {
2222 CreatedAt * Timestamp `json:"created_at,omitempty"`
2323 State string `json:"state,omitempty"`
2424 Result string `json:"result,omitempty"`
25+ BuildID string `json:"build_id,omitempty"`
2526}
2627
2728type FailureExpanded struct {
Original file line number Diff line number Diff line change @@ -103,7 +103,8 @@ func TestTestRunsService_Get(t *testing.T) {
103103 "commit_sha": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
104104 "created_at": "2023-05-20T10:25:50.264Z",
105105 "state": "finished",
106- "result": "failed"
106+ "result": "failed",
107+ "build_id": "0191bd22-3c60-7a96-aa84-e173e79bb7f5"
107108 }` )
108109 })
109110
@@ -127,6 +128,7 @@ func TestTestRunsService_Get(t *testing.T) {
127128 CreatedAt : NewTimestamp (parsedTime ),
128129 State : "finished" ,
129130 Result : "failed" ,
131+ BuildID : "0191bd22-3c60-7a96-aa84-e173e79bb7f5" ,
130132 }
131133
132134 if diff := cmp .Diff (run , want ); diff != "" {
You can’t perform that action at this time.
0 commit comments