J. King
554beacfdb
Improved database tests
...
- Centralized initial state; this will be useful due to foreign key interdependence
- Added nextID() method to make insert tests less brittle
2017-05-10 21:21:23 -04:00
J. King
2083c6e397
Change transactions to auto-rollback on exceptions
2017-05-06 12:02:27 -04:00
J. King
717e74fb2e
Refactored special case for testing
2017-05-03 20:00:29 -04:00
J. King
a67fe30408
Fix whitespace
...
Also fixed my editor so tabs won't happen again!
2017-04-06 21:41:21 -04:00
J. King
1e1b848c62
Remove root field from folders table
...
The field is no longer required with the use of recursive common table expressions, and presents a possible loss of referential integrity
2017-04-01 14:49:31 -04:00
J. King
b68cea1188
Tests for adding folders
2017-03-31 15:27:59 -04:00
J. King
82e4838162
Re-organize Database tests
...
- Test files now consist entirely of traits:
- General setup trait mocking User class and cleaning up
- Driver trait to set up the database connection
- Series trait containing tests for the series, independent of driver used
2017-03-31 13:24:00 -04:00