Skip to content

Commit

Permalink
add timezone field (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdstolworthy authored Feb 12, 2021
1 parent 4416fed commit 1df312a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class Engagement {
private Launch launch;
private List<EngagementUser> engagementUsers;
private List<HostingEnvironment> hostingEnvironments;
private String timezone;

private Status status;
private List<Commit> commits;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ void testGetAllEngagementsSuccess() {
" ]\n" +
" },\n" +
" \"technical_lead_email\": \"[email protected]\",\n" +
" \"technical_lead_name\": \"Wendel Clark\"\n" +
" \"technical_lead_name\": \"Wendel Clark\",\n" +
" \"timezone\": \"America/Denver\"\n" +
" }\n" +
"]"));

Expand Down Expand Up @@ -177,7 +178,8 @@ void tesetGetEngagementByNamespace() {
" \"public_reference\": false,\n" +
" \"start_date\": \"20200202\",\n" +
" \"technical_lead_email\": \"[email protected]\",\n" +
" \"technical_lead_name\": \"Wendel Clark\"\n" +
" \"technical_lead_name\": \"Wendel Clark\",\n" +
" \"timezone\": \"America/Denver\"\n" +
"}"));
}

Expand Down Expand Up @@ -466,7 +468,8 @@ void testGetProjectSuccess() {
" ]\n" +
" },\n" +
" \"technical_lead_email\": \"[email protected]\",\n" +
" \"technical_lead_name\": \"Wendel Clark\"\n" +
" \"technical_lead_name\": \"Wendel Clark\",\n" +
" \"timezone\": \"America/Denver\"\n" +
"}"));
}

Expand Down
3 changes: 2 additions & 1 deletion src/test/resources/engagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"public_reference": false,
"start_date": "20200202",
"technical_lead_email": "[email protected]",
"technical_lead_name": "Wendel Clark"
"technical_lead_name": "Wendel Clark",
"timezone": "America/Denver"
}

0 comments on commit 1df312a

Please sign in to comment.