Revision b3a4df37
Added by Andreas Kohlbecker over 2 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/security/PasswordResetTokenStoreTest.java | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import org.junit.Before; |
19 | 19 |
import org.junit.Test; |
20 |
import org.springframework.beans.factory.annotation.Qualifier; |
|
21 | 20 |
import org.unitils.database.annotations.Transactional; |
22 | 21 |
import org.unitils.database.util.TransactionMode; |
23 |
import org.unitils.spring.annotation.SpringBeanByType;
|
|
22 |
import org.unitils.spring.annotation.SpringBeanByName;
|
|
24 | 23 |
|
25 | 24 |
import eu.etaxonomy.cdm.model.permission.User; |
26 | 25 |
import eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest; |
... | ... | |
36 | 35 |
private static final String USER_PWD = "dummy123"; |
37 | 36 |
private static final String USER_NAME = "dummy"; |
38 | 37 |
|
39 |
@SpringBeanByType |
|
40 |
@Qualifier("passwordResetTokenStore") |
|
41 |
private IAbstractRequestTokenStore passwordResetTokenStore; |
|
38 |
@SpringBeanByName |
|
39 |
private IAbstractRequestTokenStore<PasswordResetRequest> passwordResetTokenStore; |
|
42 | 40 |
|
43 | 41 |
private User testUser; |
44 | 42 |
|
Also available in: Unified diff
ref #9497 fixing test calls bean binding