aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/http_test.go
blob: 7adf2c48f7b64f5e1dc212288f71d26978bf941c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package timetask

import (
	"io/ioutil"
	"testing"
)

func TestLogin(t *testing.T) {
	response, _ := Login()
	defer response.Body.Close()
	body, _ := ioutil.ReadAll(response.Body)
	t.Log(response)
	t.Logf("%s", body)
}