Skip to content

Commit

Permalink
Fixed the unittests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Eelen committed Jun 25, 2015
1 parent de39847 commit fd3f1a2
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -69,7 +69,8 @@ public function testConfigurationHelperWithConfigurationFromSetter()
$migrationConfig = $configurationHelper->getMigrationConfig($this->input, $this->getOutputWriter());

$this->assertInstanceOf('Doctrine\DBAL\Migrations\Configuration\Configuration', $migrationConfig);
$this->assertStringMatchesFormat("Loading configuration from the integration code of your framework (setter).", $this->getOutputStreamContent($this->output));

$this->assertStringMatchesFormat("Loading configuration from the integration code of your framework (setter).", trim($this->getOutputStreamContent($this->output)));
}

public function testConfigurationHelperWithConfigurationFromSetterAndOverrideFromCommandLine()
Expand Down Expand Up @@ -113,4 +114,4 @@ private function getOutputWriter()
}
return $this->outputWriter;
}
}
}

0 comments on commit fd3f1a2

Please sign in to comment.