21 Commits

Author SHA1 Message Date
Brendan Forster 45bc5eced7 autofix tests based on feedback from xunit analyzers (#1997) 2019-09-16 19:46:40 -03:00
Ryan Gribble a432b15dce Fix ThrowsAsync tests that were not being awaited (#1838)
* Fix ThrowsAsync tests that were not being awaited

* fix for consistency
2018-07-02 23:05:59 +10:00
Ryan Gribble db74c3b4ad Fix async tests (#1631)
* Fix up Assert.ThrowsAsync tests to actually await the call

* ... and it even picked up a missing null check... pay day!
2017-07-23 09:03:10 +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
Ryan Gribble 016e25b693 Remove obsolete items - AuthorizationClient
- RevokeAllApplicationAuthentications()
2016-07-16 22:46:38 +10:00
aedampir@gmail.com 63b58527c6 New integration tests for IAuthorizationsClient and IObservableAuthorizationsClient have been added. 2016-03-18 13:50:59 +07:00
Brendan Forster 01c185f5bf mark test as obsolete 2016-02-02 11:32:31 +10:30
Mordechai Zuber 44304ca70b use string per recommended style 2015-12-16 21:23:36 +02:00
Brendan Forster 31d8a40cc2 link to issues in muted tests 2015-12-14 11:32:38 +10:30
Brendan Forster 4b30860bee mute some flaky tests 2015-12-14 11:03:55 +10:30
Brendan Forster 04e7f77950 switch some tests over which require using basic auth 2015-12-14 11:03:16 +10:30
Henrik Andersson 2152ba4d14 Implemented methods for creating an authorization without having to specify an app clientid/clientsecret.
These methods will ONLY work with username/password Basic Auth.

Added a helper method to return a GitHub client using basic auth credentials as if you have both password and oauth token environment variables, you get credentials based on the oauth token.
2015-12-11 00:16:36 +10:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
William Barbosa 847cd1b2c8 Adds common properties to RepositoryContext
A lot of classes use the name and the owner of the repository, so for
consistency I added those as properties of the Context
2015-09-27 00:38:52 -03:00
Mordechai Zuber d83a4bbcbc Octokit.Tests.Integration\Clients 2015-05-19 09:54:08 +03:00
Brendan Forster 79446b68cc updated integration test 2015-04-22 08:04:26 +09:30
Henrik Andersson 0ff453ae19 Some more asserting that token was removed 2015-03-16 08:17:14 +10:00
Henrik Andersson 2078216f7a Integration tests
Added some helpers for getting an authenticated application GitHub
client.
2015-03-15 23:04:52 +10:00
Brendan Forster 5fc8ef0b8e RIP nice pretty code 2015-01-29 16:25:05 +09:30
Brendan Forster da163c42fb here's a test 2015-01-29 16:25:05 +09:30
Brendan Forster c56e5711c9 stubbed an initial test 2015-01-04 14:53:09 +09:30