J. King
2628ff7bf4
Make database test helpers generic
2019-06-21 18:52:27 -04:00
J. King
94314f3e6d
Fix test errors when PostgreSQL or MySQL are not available
2019-03-21 15:51:26 -04:00
J. King
38bdde1167
Add access tokens to the db, with relevant code
...
Tokens are similar to sessions in that they stand in for users, but the
protocol handlers will manage them; Fever login hashes are the
originating use case for them. These must never expire, for example,
and we need to specify their values.
This commit also performs a bit of database clean-up
2019-03-09 16:23:56 -05:00
J. King
ff0c9a3a55
Add functionality for interacting with subscription tags
2019-03-06 22:15:41 -05:00
J. King
14c02d56ac
Implement new context options other than not().
...
Context handling has also been re-organized to simplify later
implementation of the not() option
2019-02-25 16:26:38 -05:00
J. King
e501fbdc87
Remove the DatabaseInformation class in tests and use traits instead
2019-01-12 12:43:06 -05:00
J. King
0513b606c2
Merge master
2018-12-07 19:21:44 -05:00
J. King
cf896121b2
Style fixes
2018-12-05 17:28:11 -05:00
J. King
22941f5ad1
Fix session tests
...
PostgreSQL now passes all tests. Connection and permission errors still
need to be accounted
for before the implementation is complete.
2018-12-05 12:07:45 -05:00
J. King
10b228224d
Correct PostgreSQL data format and other tweaks
2018-11-28 12:12:49 -05:00
J. King
a75fad53ca
Adapt the rest of the test series
2018-11-25 00:03:56 -05:00
J. King
dccd4caede
Convert one database function test series (articles) to a common harness
...
Also revert the dropping of tables in the schema files. This was for the
convenience of tests, but the risk of data loss is too great
2018-11-24 23:18:17 -05:00
J. King
7340d65c0e
Make data clearing in tests static
2018-11-23 10:01:17 -05:00
J. King
39110858b7
Move database function test series as first step in re-organization
2018-11-23 09:29:06 -05:00