Commit Graph

12 Commits

Author SHA1 Message Date
Thomas Lem c2178a4ea2 feat: Adds cancel invitation
* Added api request to cancel an organization invitation

* Added tests

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-02-13 15:11:14 -06:00
Chris Simpson 2f7bd00dd6 feat: Removing accept header previews (#2515) 2022-08-01 09:37:23 -05:00
Brendan Forster 28892df03d some cleanup of the project (#2063) 2020-01-23 14:51:00 -04:00
Henrik Andersson 8b263cdc0f Add get/update/delete methods for organization memberships (#2014) 2019-10-21 20:08:58 -03:00
Henrik Andersson 7c170213fd List pending organization / team invitations (#1640)
* Add methods for listing pending organization invites

* Add unit/integration tests

* Add methods for getting all pending invites for a team

* Add unit/integration tests

* 🔥 whitespace 🔥

* Move new enum to it's own correct file and location

* Invite(s) -> Invitation(s)

* Add helper functions for adding invitations and cleaning the invitations up at the end of the test

* Add methods with ApiOptions

* Fix helper methods for adding/removing invitations

* Forgot to actually pass in the ApiOptions to the API call

* Add tests for new ApiOptions methods

* tweak integration tests

* Update outside collaborator tests to use [OrganizationTest] attribute for consistency

* Update test accounts used

* use octokitnet-test2 account now it has 2FA turned on
2017-08-14 16:52:53 +10:00
Alexander Efremov 437bf91117 Add ApiOptions overloads to methods on I(Observable)OrganizationMembersClient (#1332) 2016-06-01 16:16:55 +02:00
aedampir@gmail.com d0c8e82453 Red Tests were fixed
Unused 'using' directive were removed.
2016-04-18 12:46:13 +07:00
Mordechai Zuber b36e133049 O-Issues, O-Milestones, O-OrgMembers 2015-05-19 11:32:10 +03:00
Henrik Andersson 189ae42c3a Update tests 2015-03-24 00:12:54 +10:00
Paul Betts d731f1bd97 More jacked up tests 2014-04-30 21:47:34 -07:00
Peter MacNaughton b8c18e2da6 Fixing some unit tests that were not doing
any assertions.
Adding Received() where it was missing.
The majority of these instances were unawaited AssertEx.Throws
They are now all either awaited or replaced with Assert.Throw
Assert.Throw was used when possible and when not an option
AssertEx.Throw was awaited.
2014-02-09 01:12:31 -07:00
Henrik Andersson d42bf57e95 Add unit tests 2013-11-07 17:39:05 +10:00