Changing Repository struct to allow omit on serialization

This commit is contained in:
gfleury
2020-03-20 10:14:43 -03:00
parent 284a2dc210
commit f1225dcec2
3 changed files with 17 additions and 17 deletions

View File

@ -413,7 +413,7 @@ func TestGetPullRequestResponse(t *testing.T) {
ID: "refs/heads/feature-ABC-123",
Repository: Repository{
Slug: "my-repo",
Project: Project{
Project: &Project{
Key: "PRJ",
},
},
@ -422,7 +422,7 @@ func TestGetPullRequestResponse(t *testing.T) {
ID: "refs/heads/master",
Repository: Repository{
Slug: "my-repo",
Project: Project{
Project: &Project{
Key: "PRJ",
},
},