Skip to content
Snippets Groups Projects
Commit a728417c authored by felmer's avatar felmer
Browse files

tests fixed

SVN: 11186
parent cb05ec4a
No related branches found
No related tags found
No related merge requests found
...@@ -490,6 +490,7 @@ public class DBMigrationEngineTest ...@@ -490,6 +490,7 @@ public class DBMigrationEngineTest
will(returnValue(migrationStepExecutor)); will(returnValue(migrationStepExecutor));
one(daoFactory).getMigrationStepExecutorAdmin(); one(daoFactory).getMigrationStepExecutorAdmin();
will(returnValue(migrationStepExecutorAdmin)); will(returnValue(migrationStepExecutorAdmin));
one(adminDAO).createGroups();
one(logDAO).canConnectToDatabase(); one(logDAO).canConnectToDatabase();
will(returnValue(true)); will(returnValue(true));
...@@ -553,6 +554,7 @@ public class DBMigrationEngineTest ...@@ -553,6 +554,7 @@ public class DBMigrationEngineTest
will(returnValue(migrationStepExecutor)); will(returnValue(migrationStepExecutor));
one(daoFactory).getMigrationStepExecutorAdmin(); one(daoFactory).getMigrationStepExecutorAdmin();
will(returnValue(migrationStepExecutorAdmin)); will(returnValue(migrationStepExecutorAdmin));
one(adminDAO).createGroups();
one(logDAO).canConnectToDatabase(); one(logDAO).canConnectToDatabase();
will(returnValue(true)); will(returnValue(true));
...@@ -615,6 +617,7 @@ public class DBMigrationEngineTest ...@@ -615,6 +617,7 @@ public class DBMigrationEngineTest
one(daoFactory).getMigrationStepExecutorAdmin(); one(daoFactory).getMigrationStepExecutorAdmin();
will(returnValue(migrationStepExecutorAdmin)); will(returnValue(migrationStepExecutorAdmin));
one(adminDAO).createGroups();
one(logDAO).canConnectToDatabase(); one(logDAO).canConnectToDatabase();
will(returnValue(true)); will(returnValue(true));
one(logDAO).getLastEntry(); one(logDAO).getLastEntry();
...@@ -673,6 +676,7 @@ public class DBMigrationEngineTest ...@@ -673,6 +676,7 @@ public class DBMigrationEngineTest
will(returnValue(migrationStepExecutor)); will(returnValue(migrationStepExecutor));
one(daoFactory).getMigrationStepExecutorAdmin(); one(daoFactory).getMigrationStepExecutorAdmin();
will(returnValue(migrationStepExecutorAdmin)); will(returnValue(migrationStepExecutorAdmin));
one(adminDAO).createGroups();
one(logDAO).canConnectToDatabase(); one(logDAO).canConnectToDatabase();
will(returnValue(true)); will(returnValue(true));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment