1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-10-30 07:40:05 -04:00
Commit Graph

8 Commits

Author SHA1 Message Date
3869f3a3b2 Get all current tests to pass with MySQL
This is done by requiring 'parseTime=true' in the MySQL DSN's (required
by github.com/go-sql-driver/mysql when Scan()ing to time.Time's), and
not forcing update counts to match if rows were updated to what they
already were.
2017-10-24 20:57:55 -04:00
85a58c3ff8 go vet, go fmt 2017-10-14 20:38:40 -04:00
3c5e726f93 testing: Error on teardown failures 2017-10-11 05:48:31 -04:00
4953063286 testing: Make handlers.Error obey the standard 'error' interface
And return these types from test helper functions
2017-10-09 21:11:50 -04:00
32ac18647b testing: Add GET, DELETE, PUT helper functions too 2017-10-09 06:00:51 -04:00
2decf765ac testing: Add common way to POST objects 2017-10-08 21:18:30 -04:00
bd52df65cd Create framework to automate creation/teardown of test data 2017-10-08 20:29:51 -04:00
8f0f64ae53 Add tests for users and sessions
Split out common test infrastructure from security_templates_test, make
tests HTTPS, use the http.Client provided by httptest
2017-10-07 06:21:05 -04:00