Commit Graph

12 Commits

Author SHA1 Message Date
Chris Simpson 2f7bd00dd6 feat: Removing accept header previews (#2515) 2022-08-01 09:37:23 -05:00
Ryan Gribble 3c818934b8 Release v0.24 - A Sight For Sore Eyes (#1539)
* Add release notes and bump version to 0.24

* run "build FormatCode" to fix up whitespace/formatting issues

* Fix failing Ssh key tests due to "validation exception".  This key must be in use on github (under another user, most likely from these tests failing).  Changed to a new SSH key and tweaked tests to reduce chance of a key being created and not destroyed

* Assignee and Assignees cant both be specified on NewIssue.  We missed this one in the PR.  Marked Assignee as [Obsolete] and fixed tests to use Assignees

* Fix a couple of Reactions tests that were calling the wrong client methods

* Fix timeline tests - looks like the response class has changed shape a bit, it now has an Issue object in the payload and Id field isnt present (leaving Id field there in case other timeline events do use it)

* Fix some following tests that require the test user to follow more than 1 other user

* Unskip these Event tests now because apparently they work!

* add breaking changes notes

* Update ApiErrorMessageSafe to return null for empty and whitespace strings (#1540)

* return null if ApiError.Message is empty or whitespace

* Uncomment test, which now passes

* update release notes to include PR1540

* Add "Bot" AccountType, was causing a deserialization exception when running the integration test "SearchForExcludedLanguage" (#1541)

* Update to include PR1541

* add bullets to make release notes easier to read

* markup additional code mentions in notes

* Fix grammar

fields => field
2017-01-17 18:56:55 +10:00
Stanley Goldman 7fb35ca20c Fixing unit tests 2016-10-16 10:52:00 -04:00
Alexander Efremov cb1dcf6fd6 added new unit tests 2016-06-13 22:53:21 +07:00
Tim Miller 7b372253ca Add actual "GetAllForRepository" Activity Feed (#1288) 2016-05-05 11:57:31 +10:00
aedampir@gmail.com d0c8e82453 Red Tests were fixed
Unused 'using' directive were removed.
2016-04-18 12:46:13 +07:00
Elhamer 4ae6000ac1 Add overloads to the GetAll methods in the IEventsClient (#1240)
* Add overloads to the GetAll methods in the IEventsClient Interface

* Implement GetAll* overload methods in the EventClient class to allow ApiOptions as parameter

* Fix the failling tests after refactoring the GetAll* methds

* Add the overload GetAlls methods to the IObservableEventsClient interface

* Implement the GetAll* overloads in the ObservableEventsClient class

* Fix the failling tests after refactoring the GetAll* methods

* Make sure the ApiOtions arn't null in the newly added overload methods + implement RequestsCorrectUrlWithApiOptions test

* Implement unit tests for the EventClient's GetAll* overload methods

* Add missing test cases in the ReleaseClientTest's EnsuresNonNullArguments test

* Fix the last commit

* Add the ObservableEventsClientTests class

* Add an ArgumentException check to the EnsuresArgumentsNotNull methodS + some clean up

* Events GetAll Method Integration Tests

* Implement the GetAll* IntegrationTests

* TheGetAllForAnOrganizationMethod Integrations test [WIP]

* Fix a failing integration test

* Proper way to call Organization and UserName in the integration test

* Remove .swp file

* Fixe after merging

* Add more checks to EnsuresNonNullArguments
2016-04-10 17:23:46 -04:00
Mordechai Zuber 5ff6c1156f O-Blob, O-Commits, O-Events 2015-05-19 11:24:27 +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
pltaylor 95b6363cd9 Rename class to IEvents and add IActivities class 2013-11-05 12:14:16 -05:00