Skip to content

Commit

Permalink
Fix variable replace test
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Oct 11, 2023
1 parent 89b126d commit 41a20b8
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@

import org.junit.Test;
import org.kitodo.config.KitodoConfig;
import org.kitodo.data.database.beans.*;
import org.kitodo.data.database.beans.Folder;
import org.kitodo.data.database.beans.Process;
import org.kitodo.data.database.beans.Project;
import org.kitodo.data.database.beans.Ruleset;
import org.kitodo.data.database.beans.Template;


public class VariableReplacerTest {

Expand Down Expand Up @@ -193,8 +197,8 @@ private Process prepareProcess() {
project.setId(projectId);
process.setProject(project);
scansFolder.setProject(project);
project.setGeneratorSource(scansFolder);
project.getFolders().add(scansFolder);
project.setGeneratorSource(scansFolder);

return process;
}
Expand Down

0 comments on commit 41a20b8

Please sign in to comment.