27 Commits

Author SHA1 Message Date
Chris Simpson
2f7bd00dd6 feat: Removing accept header previews (#2515) 2022-08-01 09:37:23 -05:00
tasadar2
75196b1a8a Added get release by tag endpoint (#1793)
* Added get release by tag endpoint

* Added integration tests for get release by tag overload

* tidy up integration tests and add reactive integration tests

* Implement repositoryId based method

* Implement repositoryId based method in Reactive client
2018-04-16 20:44:33 +10:00
Alexander Efremov
b0654dbcdc fixed errors in unit tests 2016-06-13 13:18:17 +07:00
Alexander Efremov
ddf0531d44 added new unit tests 2016-06-12 23:44:39 +07:00
aedampir@gmail.com
f91be91777 removed extra ThrowsAsync checks 2016-05-24 21:10:26 +07:00
aedampir@gmail.com
0ce177b90c fixed errors in tests 2016-05-23 15:05:18 +07:00
aedampir@gmail.com
63b19ca3d4 another try to get tests work 2016-05-20 23:07:48 +07:00
aedampir@gmail.com
b24c80e194 added new unit tests 2016-05-20 19:22:52 +07:00
aedampir@gmail.com
36c08248fa New convention test was added. Now each "TheCtor" class must have "EnsuresNonNullArguments" method were throwing of ArgumentNullException from client constructor class should be tested.
All unused "using" directives were removed.
2016-04-18 12:51:35 +07:00
aedampir@gmail.com
d0c8e82453 Red Tests were fixed
Unused 'using' directive were removed.
2016-04-18 12:46:13 +07:00
Abdelkhalek Oussama Elhamer
a9014616ce Fix a failling test after refactoring the GetAll releases method 2016-03-26 05:03:04 +01:00
Brendan Forster
5704b6a68c cleanup impacted tests 2016-02-03 12:09:23 +10:30
Brendan Forster
7ca01400d3 Merge pull request #975 from chenjiaming93/GetLatestRelease
Implemented GetLatestRelease API.
2016-02-03 11:03:44 +10:30
Robert Pethick
7e5417effb More tests update 2016-01-04 17:17:29 +00:00
Robert Pethick
e4d54aa7e3 Updating tests to stop using obsolete method 2016-01-04 17:04:48 +00:00
Robert Pethick
146c9473e3 Updating Test 2016-01-04 17:04:47 +00:00
jic096@ucsd.edu
dbe59894a4 Implemented GetLatestRelease API. 2015-12-06 17:41:21 -08:00
Henrik Andersson
189ae42c3a Update tests 2015-03-24 00:12:54 +10:00
Micah
c3a67ae777 Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677.

Removes obscolete properties (gravatar).
Makes Models.Response properties all be protected (most were already).
2015-01-24 16:07:03 -08:00
Kristian Hellang
21ca33817d Fixed failing tests 2015-01-06 00:27:16 +01:00
Dillon Buchanan
b18b47acde All models used in PATCH verbs should have nullable fields 2014-10-12 08:37:11 -03:00
Brendan Forster
2ed5c49b69 dropped 'Release' suffix from some APIs 2014-07-07 12:32:15 +09:30
Haacked
119b59e9a2 Fix up URLs for individual assets
The release id is not needed.
Fixes #506
2014-06-30 09:08:48 -07:00
Cameron MacFarland
3ffcc17dfd Fixed edit release api #506 2014-06-09 20:46:15 +08: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
5ee523c757 Add unit tests for Observable Releases client 2014-02-07 22:26:12 +10:00