aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 15:21:55 +0200
committerTeddy Wing2017-06-03 15:21:55 +0200
commit194f180cbc2cdf8f739b83296e26ea8805d2c122 (patch)
tree1161985673bdeee575ea046c8d8790eb30cbad16
parent61c447fda6fe833bebb953600167975685e89102 (diff)
downloadtimetasker-194f180cbc2cdf8f739b83296e26ea8805d2c122.tar.bz2
http_test.go: Skip Login() test
Because it makes a network request. I originally wrote this to test the Login function while developing so it wasn't a big deal, but we really don't want to run this type of test in normal situations.
-rw-r--r--timetask/http_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/timetask/http_test.go b/timetask/http_test.go
index c54617f..604c3c3 100644
--- a/timetask/http_test.go
+++ b/timetask/http_test.go
@@ -17,6 +17,8 @@ func init() {
}
func TestLogin(t *testing.T) {
+ t.Skip("No requests")
+
response, err := Login(username, password)
if err != nil {
t.Fatal(err)