Commit Graph

26 Commits

Author SHA1 Message Date
Martin Scholz 72e30a7f90 Add reactions to issue, commit comment and review payload (#1405)
* add reactions to issue response payload

* add reactions to commit comment payload

* add reactions to review comment payload

* create tests for issue client

* tests for commitcomment client

* tests for pull request review comment

* change observable tests

* simplify strings

* remove unnecessary clients

* change integration tests to retrieve all reaction types

* create integration test for issue comment client

* fix merge conflicts

* fix merge conflicts

* gets tests passing again

* fix some reaction integration tests

* Fixup unit tests wth preview accepts header
Also applied preview header to a couple of repositoryId based calls that were added by another PR

* Fixup unit tests wth preview accepts header
Also applied preview header to a couple of repositoryId based calls that were added by another PR

* Rework reaction payload tests for IssueComments to handle Get, GetAllForIssue and GetAllForRepository calls

* [WIP] reaction payload tests

* Rework reaction payload tests for IssueComments to handle Get, GetAllForIssue and GetAllForRepository calls

* Rework reaction payload tests for Issues client

* Rework reaction payload tests for PullRequestReviews client

* Rework reaction payload tests for CommitComments client

* Revert "[WIP] reaction payload tests"

This reverts commit a6179b0f21a3ddfe36bfd3ae5eafae0e69b52252.
2016-07-08 20:29:08 +10:00
Alexander Efremov 5af04e32c8 added new integration tests 2016-06-17 00:31:21 +07:00
aedampir@gmail.com 188d6b9a30 added integration tests 2016-05-26 15:06:25 +07:00
aedampir@gmail.com f1896888c6 Redundant commas in object initializer were removed. 2016-04-22 17:30:37 +07:00
Robert Pethick ffc0b35608 Switch GitDatabase->Git on IGitHubProvider 2015-12-24 17:01:37 +00:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
William Barbosa 1cb1258eb6 Refactors tests up to PullRequestsClientTests 2015-09-27 01:19:58 -03:00
Henrik Andersson 189ae42c3a Update tests 2015-03-24 00:12:54 +10:00
Haacked a94051d6b0 Repository name is required when creating a repo
I was trying to create a repository and I wasn't sure which parameters
were required. Following our philosophy of exposing required parameters
in the constructor, I change the `NewRepository` object to take in a
repository name and to make that property readonly.
2015-03-19 16:25:03 -07:00
Brendan Forster 28e8372922 extract helper method for setting up GitHubClient 2015-01-04 10:03:45 +09:30
Haacked 1b4d02b142 Ensure no async void methods
Added self tests to find async void methods. It found some cases where
we passed an async lambda to a method that did not accept Action<Task>
or Func<Task>. I fixed those tests.
2014-11-07 16:05:53 -08:00
Brendan Forster 67247a050c use the correct refs as the api validation is shouty shouty 2014-10-04 10:10:46 -03:00
Brendan Forster e8cd8addc7 investigating why the order of these tests is weird 2014-07-10 15:41:46 +09:30
Brendan Forster 69bc413655 i hate myself 2014-07-10 15:19:30 +09:30
Brendan Forster 5ad166ac1a making this an inner class 2014-07-10 14:45:45 +09:30
Brendan Forster ffebd59f62 deprecate some properties 2014-07-10 14:42:27 +09:30
Brendan Forster 5676b62e09 added test around how timestamps work 2014-07-10 14:38:58 +09:30
Brendan Forster 12fca5f83d get to the created comment in the test 2014-07-10 14:34:34 +09:30
Brendan Forster 820ae69b71 dropped mention of PullRequest to be consistent with other areas 2014-07-10 14:19:05 +09:30
Brendan Forster 3da59c2150 simplify test setup and teardown 2014-07-10 14:14:37 +09:30
Brendan Forster ae1f79688e 💄 tidy up test code a bit 2014-07-10 13:50:21 +09:30
Gabriel Weyer f23ddf81f9 Finalized integration testing for review comments 2014-05-04 10:46:35 +10:00
Gabriel Weyer 7223518239 Trying to get things to work again 2014-05-03 11:56:36 +10:00
Gabriel Weyer 68aee77b18 Replaced forking by branching 2013-12-30 14:15:46 +11:00
Gabriel Weyer 6590d227e3 Added blob and tree creation to review comments integration tests 2013-12-09 10:34:32 +11:00
Gabriel Weyer 895cfc116b Fixed the Integration project that I broke 2013-12-09 10:10:24 +11:00