Lorenzo Pisani
c1c96ffde3
fixing comments in unittests
2011-07-19 11:37:34 -07:00
Lorenzo Pisani
0f201b0906
adding a test for sql files in the migrations folder (refs #18 )
2011-07-01 23:32:31 -07:00
Lorenzo Pisani
0c65956d6b
adjusting the old util classes to run in the model tests (refs #11 )
2011-07-01 23:22:23 -07:00
Matt Button
99eca42020
Coding standards fix
2011-02-18 15:47:46 +00:00
Matt Button
fd690e6494
Rewrite of the core migrations system is pretty much complete, fixes #4
2011-02-18 02:20:05 +00:00
Matt Button
42001496eb
Adding tests for/fixing fetch_required_migrations() / resolve_target()
2011-02-17 23:53:15 +00:00
Matt Button
63ad3348f2
Rewriting tests for fetch_required_migrations
2011-02-17 21:16:36 +00:00
Matt Button
e0fe87f443
Starting to refactor stuff.
...
Renaming locations -> groups
Cut down the size of fetch_required_migrations()
2011-02-17 20:43:04 +00:00
Matt Button
8b550a43d4
Chaning phpunit groups in the migration util test
2011-02-16 23:09:45 +00:00
Matt Button
17b36782e1
Changing tests to auto-create and auto-teardown the testing table fixes #5
2011-02-16 23:04:19 +00:00
Matt Button
12670e28ef
Removing non-migration related files
...
In an ideal world I would've been able to simply strip out the unwanted stuff
using git filter-branch, however it seems that command is limited to only one subdirectory
2011-02-06 01:35:23 +00:00
Matt Button
e52563165c
Fixing @covers notation in util tests, fixes #19
2011-01-31 17:14:34 +00:00
Matt Button
da31601428
Fixing some leftover crud, cheers Bob!
2011-01-29 10:55:34 -08:00
Matt Button
36d92858da
Fixing old typo in one of the tests
2011-01-21 01:39:36 +00:00
Matt Button
95e450c43e
Fixing reference to old table names in test data, references #10
2011-01-21 00:45:00 +00:00
Matt Button
a584ac47ea
Changing unittests to use test_minion_migrations table and also added migration for setting up the testing table
2011-01-10 15:40:22 +00:00
Matt Button
41a7392f15
Changing timestamps to be {year}{month}{day}{hour}{minute}{second}
...
Also added get_migration method to model and some more tests
2010-12-30 15:06:52 +00:00
Matt Button
fbe91010ed
Migration IDs are now {location}:{timestamp}
...
This should force uniqueness of migration ids
2010-12-29 03:03:00 +00:00
Matt Button
c026cbb415
Limiting command line to executing a single task.
...
This reduces both the complexity for the end user (no pesky task namespace on config options)
and also removes a good few LOC
Minion_Master has been removed in favour of Controller_Minion + Minion_Test::factory()
2010-12-29 01:01:32 +00:00
Matt Button
e64ce18a71
Changing model methods so they return an array instead of a database result
2010-12-29 00:46:07 +00:00
Matt Button
1d3e2343c9
Renaming some methods and changing get_filename_from_migration() so it doesn't prepend migrations/
2010-12-28 23:23:01 +00:00
Matt Button
14ac8a4047
Migration model wasn't using correct target version when downgrading all locations. Adding a bugfix & test
2010-12-28 17:40:40 +00:00
Matt Button
5fd227becd
Added unit tests for migration model and fixed some bugs found with the tests :)
2010-12-28 15:40:54 +00:00
Matt Button
8cadcbf309
Renaming 'module' to 'location' in migration related code, makes more sense
2010-12-28 02:47:49 +00:00
Matt Button
82ba3323d6
Added some utility methods for managing migrations, includes tests
2010-12-24 17:37:52 +00:00
Matt Button
ed98d5b7c8
Initial import
2010-12-24 15:52:03 +00:00