mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-06-16 23:11:06 +03:00
Fixing some leftover crud, cheers Bob!
This commit is contained in:
parent
f7a15027d9
commit
da31601428
|
@ -8,11 +8,11 @@
|
||||||
class Minion_Migration_UtilTest extends Kohana_Unittest_TestCase {
|
class Minion_Migration_UtilTest extends Kohana_Unittest_TestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides test data for test_parse_migrations_from_files()
|
* Provides test data for test_compile_migrations_from_files()
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function provider_parse_migrations_from_files()
|
public function provider_compile_migrations_from_files()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array(
|
array(
|
||||||
|
@ -37,12 +37,12 @@ class Minion_Migration_UtilTest extends Kohana_Unittest_TestCase {
|
||||||
* compiles a set of files down into a set of migration files
|
* compiles a set of files down into a set of migration files
|
||||||
*
|
*
|
||||||
* @test
|
* @test
|
||||||
* @covers Minion_Migration_Util::parse_migrations_from_files
|
* @covers Minion_Migration_Util::compile_migrations_from_files
|
||||||
* @dataProvider provider_parse_migrations_from_files
|
* @dataProvider provider_compile_migrations_from_files
|
||||||
* @param array Expected output
|
* @param array Expected output
|
||||||
* @param array Input Files
|
* @param array Input Files
|
||||||
*/
|
*/
|
||||||
public function test_parse_migrations_from_files($expected, array $files)
|
public function test_compile_migrations_from_files($expected, array $files)
|
||||||
{
|
{
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
$expected,
|
$expected,
|
||||||
|
|
Loading…
Reference in a new issue