Skip to content

Commit 43bceae

Browse files
committed
fixed tests
1 parent 6b82e19 commit 43bceae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

module-base/src/test/java/de/intranda/goobi/plugins/BatchImageqaWorkflowPluginTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ public List answer() throws Throwable {
105105
answer.add(row2);
106106
answer.add(row3);
107107
} else {
108-
String[] row1 = { "1", "5", "0", "0", "done" };
109-
String[] row2 = { "2", "10", "0", "0", "in progress" };
108+
String[] row1 = { "1", "5", "0", "0", "" };
109+
String[] row2 = { "2", "10", "0", "0", "" };
110110
String[] row3 = { "3", "10", "0", "0", "" };
111111
answer.add(row1);
112112
answer.add(row2);
@@ -153,6 +153,7 @@ public List answer() throws Throwable {
153153
gp.setPropertyValue("20");
154154
gpl.add(gp);
155155
EasyMock.expect(PropertyManager.getPropertiesForObject(EasyMock.anyInt(), EasyMock.anyObject())).andReturn(gpl).anyTimes();
156+
PropertyManager.saveProperty(EasyMock.anyObject());
156157

157158
PowerMock.mockStatic(StorageProvider.class);
158159
StorageProviderInterface spi = EasyMock.createMock(StorageProviderInterface.class);

0 commit comments

Comments
 (0)