Commit Graph

9 Commits (9e1af56ceb351f24f23bad9ba2b7889cd1c270cc)

Author SHA1 Message Date
Darren O'Connor 9e1af56ceb remove redundent return statements 2022-11-16 10:49:14 +09:00
Tyr Mactire 2a3ac1d1d5 Client Credentials 2022-08-27 13:35:59 +09:00
Yasuhiro Matsumoto 80c1d52a0d Fix tests 2019-09-30 17:15:56 +09:00
Yasuhiro Matsumoto a98b28c817 add test 2017-11-30 14:55:18 +09:00
178inaba c1bb3c84bc Add fail test cover to TestRegisterApp 2017-04-21 02:29:22 +09:00
TSUYUSATO Kitsune b105e8554c Remove 'go' from calling 'cancel'
https://github.com/mattn/go-mastodon/pull/28#discussion_r112162740
2017-04-19 19:12:09 +09:00
TSUYUSATO Kitsune fb53d41dd9 Correct context uses
`doAPI`'s `context` does not work due to `WithContext` immutability.
`Authenticate` and `RegisterApp` does not use `context` although they
needs `context`, so their `context` does not work also. This commit fixes
them and add test cases.
2017-04-19 18:53:55 +09:00
Yasuhiro Matsumoto 5e84b57bf3 breaking compatibility changes. take context for first arguments. 2017-04-17 11:10:29 +09:00
Yasuhiro Matsumoto 3b4b2ce794 separate test files 2017-04-16 20:06:54 +09:00