1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-27 16:02:27 -05:00
Commit Graph

16 Commits

Author SHA1 Message Date
128ea57c4d Split accounts and transactions into models 2017-12-05 05:59:44 -05:00
d9ecaa530b gofmt 2017-11-25 21:01:48 -05:00
50dd7b1d26 testing: Use Time.Equal for date comparisons
Postgres actually preserves the timezone, unlike sqlite and mysql...
2017-11-17 05:20:10 -05:00
5a6be5a07b Stop using form elements for API
Just send the JSON as the request body
2017-11-13 20:48:19 -05:00
9429b748fa Prefix all API endpoints with 'v1/', pluralize collections 2017-11-11 08:05:09 -05:00
0863e5fa5c testing: Don't omit the 0th elements when testing 2017-11-03 20:54:17 -04:00
5b0b0bd03b testing: Ensure account versions increased when creating/deleting transactions 2017-11-01 05:59:16 -04:00
e03944c80f testing: Ensure account versions are increased when modifying transactions 2017-11-01 05:44:40 -04:00
9721c04e52 testing: More thoroughly test fetching account transactions 2017-10-31 20:56:13 -04:00
8ba6a3dbf2 testing: Add initial account transactions test
Update one SQL query to do an 'INNER JOIN' instead of an 'IN' with a
subquery. This avoids error messages like:
  Error 1235: This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
2017-10-30 21:14:19 -04:00
09a5cf9a99 testing: Test fetching all transactions 2017-10-23 21:14:19 -04:00
45b6482b15 testing: Test deleting transactions 2017-10-23 20:49:27 -04:00
96ede2a503 testing: Add more transactions tests 2017-10-23 05:47:51 -04:00
41fb459680 testing: Add tests for updating transactions/splits 2017-10-21 06:50:31 -04:00
2c85975e92 testing: Add test for fetching transactions/splits 2017-10-17 21:28:06 -04:00
cdba839c66 testing: Add transaction-creation test 2017-10-16 05:39:41 -04:00