mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-07-17 11:00:58 -05:00
Changing Repository struct to allow omit on serialization
This commit is contained in:
@ -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",
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user