File tree Expand file tree Collapse file tree
dspace-api/src/test/java/org/dspace/workflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222import org .dspace .content .Community ;
2323import org .dspace .content .MetadataValue ;
2424import org .dspace .content .service .ItemService ;
25+ import org .dspace .core .LegacyPluginServiceImpl ;
2526import org .dspace .ctask .testing .MarkerTask ;
2627import org .dspace .eperson .EPerson ;
2728import org .dspace .util .DSpaceConfigurationInitializer ;
2829import org .dspace .util .DSpaceKernelInitializer ;
2930import org .dspace .xmlworkflow .storedcomponents .XmlWorkflowItem ;
3031import org .junit .Test ;
3132import org .junit .runner .RunWith ;
33+ import org .springframework .beans .factory .annotation .Autowired ;
3234import org .springframework .test .context .ContextConfiguration ;
3335import org .springframework .test .context .junit4 .SpringRunner ;
3436
@@ -46,6 +48,8 @@ public class WorkflowCurationIT
4648 extends AbstractIntegrationTestWithDatabase {
4749 @ Inject
4850 private ItemService itemService ;
51+ @ Autowired
52+ private LegacyPluginServiceImpl legacyPluginService ;
4953
5054 /**
5155 * Basic smoke test of a curation task attached to a workflow step.
@@ -56,6 +60,7 @@ public class WorkflowCurationIT
5660 public void curationTest ()
5761 throws Exception {
5862 context .turnOffAuthorisationSystem ();
63+ legacyPluginService .clearNamedPluginClasses ();
5964
6065 //** GIVEN **
6166
You can’t perform that action at this time.
0 commit comments