mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add tests for aidens api
This commit is contained in:
parent
fed429678a
commit
36d36b4942
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// TestAidenBotRatelimits calls aidens bot ratelimits api and checks
|
||||||
|
// the results against each other with my bot and another verified bot.
|
||||||
func TestAidenBotRatelimits(t *testing.T) {
|
func TestAidenBotRatelimits(t *testing.T) {
|
||||||
t.Run("returns a twitch accounts ratelimits", func(t *testing.T) {
|
t.Run("returns a twitch accounts ratelimits", func(t *testing.T) {
|
||||||
requestPajbot, _ := ApiCall("api/v1/twitch/botStatus/pajbot?includeLimits=1")
|
requestPajbot, _ := ApiCall("api/v1/twitch/botStatus/pajbot?includeLimits=1")
|
||||||
|
|
Loading…
Reference in a new issue