Skip to content

Commit

Permalink
fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
steinkel committed Jun 5, 2015
1 parent b8550a4 commit 27d5afb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Test/Case/Console/Command/MigrationShellTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -957,12 +957,12 @@ public function testMigrationStatus() {
/Migrations Plugin
Current version:
#003 003_increase_class_name_length
#002 002_convert_version_to_class_names
Latest version:
#003 003_increase_class_name_length/
TEXT;
$this->assertRegExp(str_replace("\r\n", "\n", $pattern), $result);
$this->Shell->Version->setVersion(3, 'migrations', false);
$this->Shell->Version->setVersion(2, 'migrations', false);
$this->Shell->output = '';
$this->Shell->args = array('outdated');
$this->Shell->status();
Expand All @@ -971,7 +971,7 @@ public function testMigrationStatus() {
/Migrations Plugin
Current version:
#002 002_convert_version_to_class_names
#001 001_init_migrations
Latest version:
#003 003_increase_class_name_length/
TEXT;
Expand Down

0 comments on commit 27d5afb

Please sign in to comment.