Commit Graph

6 Commits

Author SHA1 Message Date
Ryan Gribble 7fa1faa5c4 integration helper context classes now work against github.com or github enterprise, by using the IConnection used to create the context, to delete it in Dispose()
update CreateContext extension methods to pass in the IConnection
2016-06-08 21:52:16 +10:00
Prayank Mathur db8738b675 Corrected TheUpdateMethod.EnsureArgumentsNotNull() 2016-03-17 16:38:42 +05:30
Ryan Gribble c56588d394 Add integration tests and context helper for creating/destroying users on GitHub Enterprise during integration tests 2016-02-22 21:04:13 +10:00
Ryan Gribble 1f13001fd8 Change the QueueLdapSync calls to use Post<T>(uri) with no body/data 2016-02-12 09:37:33 +10:00
Ryan Gribble bb4086b64d Rename EnterpriseHelper properties to remove "GHE" prefix 2016-02-02 22:02:28 +10:00
Ryan Gribble 535709c368 Better support for GitHub Enterprise integration tests
- Remove EnterpriseUrl in integration test Helper class, but leave ability to override custom URL (to allow specific use case of targetting regular integration tests at a custom URL)
- Move GitHub Enterprise explicit support to a new integration helper class using new OCTOKIT_GHE_ environment variables for GHE
- Change existing GitHub Enterprise integration tests and EnterpriseTestAttribute to use the new EnterpriseHelper methods
- Enhance configure-intergration-tests.ps1 script to cater for environment variable changes
2016-02-01 21:10:33 +10:00