aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/http_test.go
AgeCommit message (Collapse)Author
2017-06-03TestLogin(): Fix `Login()` assignment mismatchTeddy Wing
`Login()` now returns 3 values. Update the test.
2017-06-03http_test.go: Skip Login() testTeddy Wing
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.
2017-03-11TestLogin: Replace af83-specific textTeddy Wing
2017-03-11TestLogin: Do actual test checksTeddy Wing
Verify errors and check the response body to ensure successful login.
2017-03-11Get login workingTeddy Wing
Fill in the `Login` function to actually log in to Time Task. Pass credentials in via test command flags. Referenced https://gist.github.com/varver/f327ef9087ebf76aa4c4 for the cookie setup.
2017-03-11Initial commit. Test HTTP request.Teddy Wing
Make a sample GET request using `net/http`.