Add Permissions attribute to User

Update integration tests to ensure Permissions field is populated
Add Accept header for this functionality, so it works on GHE 2.5
Fix impacted URL unit tests
This commit is contained in:
Ryan Gribble
2016-06-04 23:35:23 +10:00
parent 921511f8d2
commit 4850b83906
6 changed files with 14 additions and 5 deletions
@@ -26,6 +26,8 @@ public class ObservableRepositoryCollaboratorClientTests
var collaborators = await fixture.GetAll(context.RepositoryOwner, context.RepositoryName).ToList();
Assert.NotNull(collaborators);
Assert.Equal(2, collaborators.Count);
Assert.NotNull(collaborators[0].Permissions);
Assert.NotNull(collaborators[1].Permissions);
}
}