Skip to content

Commit

Permalink
adding qualifier of ReportJasperCreateTaskHandler for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Apr 17, 2019
1 parent 2724274 commit ab50e0d
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -18,6 +18,7 @@
import java.io.File;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.annotation.DirtiesContext.ClassMode;
import org.springframework.test.context.ContextConfiguration;
Expand Down Expand Up @@ -75,7 +76,9 @@ public class AbstractReportIntegrationTest extends AbstractModelIntegrationTest
protected final static File USER_ADMINISTRATOR_FILE = new File(TEST_DIR_COMMON, "user-administrator.xml");

@Autowired protected ReportManager reportManager;
@Autowired protected ReportJasperCreateTaskHandler reportTaskHandler;
@Autowired
@Qualifier("reportJasperCreateTaskHandler")
protected ReportJasperCreateTaskHandler reportTaskHandler;

protected PrismObject<UserType> userAdministrator;

Expand Down

0 comments on commit ab50e0d

Please sign in to comment.