Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor changes to LogMessageGeneratorTest

  • Loading branch information...
commit be8ee5cd7b036efc44970ce852905968d62e9e49 1 parent 065b28b
Filippo authored
View
BIN  data/phpcollab_unit_test.db
Binary file not shown
View
8 test/unit/LogMessageGeneratorTest.php
@@ -2,6 +2,9 @@
include(dirname(__FILE__).'/../bootstrap/unit.php');
include(dirname(__FILE__).'/../../plugins/idProjectManagementPlugin/lib/generator/LogMessageGenerator.php');
+initializeDatabase();
+$configuration = ProjectConfiguration::getApplicationConfiguration( 'fe', 'unittest', true);
+new sfDatabaseManager($configuration);
$t = new lime_test(11, new lime_output_color());
@@ -75,11 +78,6 @@ public function __toString()
$link = LogMessageGenerator::getLinkForObject(new MyClassToString);
$t->is($link, 'my_class', 'getLinkForObject ok for generic class with to string method');
-initializeDatabase();
-
-$configuration = ProjectConfiguration::getApplicationConfiguration( 'fe', 'unittest', true);
-new sfDatabaseManager($configuration);
-
class EventMock
{
public function getInvoker()
Please sign in to comment.
Something went wrong with that request. Please try again.