Commit Graph

20 Commits

Author SHA1 Message Date
Tom Longhurst
cd1835326b Fix xUnit Warnings (#2906)
* Fix xUnit Warnings

* Fix

* Fix formatting in AsyncPaginationExtensionGenerator.cs

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2024-04-15 13:19:26 -07:00
Martin Alex Philip Dawson
8d3e7b3c2c add support for organization web hooks (#1884) 2020-06-07 16:53:20 -03:00
Brendan Forster
45bc5eced7 autofix tests based on feedback from xunit analyzers (#1997) 2019-09-16 19:46:40 -03:00
Ryan Gribble
050b85b83d Release v0.32 - App-stravaganza! (#1864)
* generate release notes

* fix failing test

* fix repository hooks tests (seems like agilezen causes a problem)

* run FormatCode build task

* update release notes to include issue labels fix

* fix release date
2018-09-09 10:24:22 +10:00
Ryan Gribble
101522070d Release v0.31 - Check yo' self! (#1851)
* Fix whitespace/formatting with /FormatCode build option

* Update release notes

* fix a few failing integration tests

* Adjust required fields on UpdateCheckRun and NewCheckRun request models and fix tests
Tidy up field accessors and XmlDoc comments

* Update date in ReleaseNotes

* Keeping request models simple (avoid inheritance) - makes it easier when we move to generated models
2018-07-21 18:12:42 +10: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
Brendan Forster
2686ccecbe tweaking integration tests 2016-07-23 16:36:23 -07:00
aedampir@gmail.com
0051b18552 added new intergration tests 2016-06-15 20:00:41 +07:00
Brendan Forster
bcda94b8d9 fix impacted tests 2016-06-14 15:34:39 +10:00
Alexander Efremov
190ccf04c2 Add ApiOption overloads to methods on IRepositoryHooksClient (#1272) 2016-04-19 17:08:02 +10:00
Brendan Forster
6bedf1ee9b just a bit of code cleanup 2016-02-02 10:01:16 +10:30
Brendan Forster
ad45c0da45 making the repository hook tests a bit more resilient, as OAuth credentials do not contain a username 2015-12-14 10:57:03 +10:30
Henrik Andersson
8c15b6de97 Conform NewRepositoryWebHook to new request model guidelines 2015-11-11 23:07:28 +10:00
Henrik Andersson
eff0c5d973 Update existing integration test to use new web hook helper class 2015-11-11 23:07:28 +10:00
Kristian Hald
bd57b08b65 Review comments from 2015-05-08 2015-05-09 12:43:50 +02:00
Kristian Hald
87c7eed2eb Changed 'dynamic' to Dictionary<string, string> for configuration of hooks. 2015-04-21 00:27:10 +02:00
Kristian Hald
477730bcfa Defined the collection name as a constant string and changed the tests to use it. 2015-04-20 21:48:08 +02:00
Kristian Hald
b5371dbb2e Testing hook is not active when created 2015-04-12 13:28:32 +02:00
Kristian Hald
3cf54d291c Thought the github api did not correctly add the first event in the list of 'add_events'.
Got answer from GitHub that it is because the 'follow' event is no longer supported.
2015-03-23 18:04:39 +01:00
Kristian Hald
8f3827ee9b Added integrationtests for the hooks and forks api.
Cleaned up the developed code to match some of the newer conventions.
2015-03-22 22:21:17 +01:00