File tree Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 307
307
</exclusion >
308
308
</exclusions >
309
309
</dependency >
310
+ <dependency >
311
+ <groupId >org.apache.logging.log4j</groupId >
312
+ <artifactId >log4j-api</artifactId >
313
+ <version >2.20.0</version >
314
+ </dependency >
315
+ <dependency >
316
+ <groupId >org.apache.logging.log4j</groupId >
317
+ <artifactId >log4j-core</artifactId >
318
+ <version >2.20.0</version >
319
+ <scope >test</scope >
320
+ </dependency >
310
321
311
322
<!-- JAXB is no longer bundled for java 11
312
323
compile only as this will be brought in through dspace-api in 7.x -->
Original file line number Diff line number Diff line change 31
31
import org .dspace .content .service .RelationshipService ;
32
32
import org .dspace .content .service .RelationshipTypeService ;
33
33
import org .dspace .content .service .SiteService ;
34
- import org .dspace .content .service .SupervisedItemService ;
35
34
import org .dspace .content .service .WorkspaceItemService ;
35
+ import org .dspace .eperson .service .SubscribeService ;
36
36
37
37
/**
38
38
* A {@link ContentServiceFactory} which returns mock services
@@ -119,13 +119,13 @@ public InstallItemService getInstallItemService() {
119
119
}
120
120
121
121
@ Override
122
- public SupervisedItemService getSupervisedItemService () {
123
- throw new UnsupportedOperationException () ;
122
+ public SiteService getSiteService () {
123
+ return siteService ;
124
124
}
125
125
126
126
@ Override
127
- public SiteService getSiteService () {
128
- return siteService ;
127
+ public SubscribeService getSubscribeService () {
128
+ throw new UnsupportedOperationException () ;
129
129
}
130
130
131
131
@ Override
Original file line number Diff line number Diff line change 15
15
import org .dspace .eperson .service .GroupService ;
16
16
import org .dspace .eperson .service .RegistrationDataService ;
17
17
import org .dspace .eperson .service .SubscribeService ;
18
- import org .dspace .eperson .service .SupervisorService ;
19
18
20
19
/**
21
20
* {@link EPersonServiceFactory} for testing
@@ -52,8 +51,4 @@ public SubscribeService getSubscribeService() {
52
51
throw new UnsupportedOperationException ();
53
52
}
54
53
55
- @ Override
56
- public SupervisorService getSupervisorService () {
57
- throw new UnsupportedOperationException ();
58
- }
59
54
}
Original file line number Diff line number Diff line change 42
42
43
43
/**
44
44
* Base class for all BagIt packing/unpacking tests. This performs initial setup so that the DSpaceKernel is not null
45
- * and so that some of the that are used through static contexts or have static initializers (e.g.
45
+ * and so that classes used through static contexts or have static initializers (e.g.
46
46
* {@link org.dspace.services.factory.DSpaceServicesFactory}, {@link org.dspace.core.Context}) can initialize and
47
47
* retrieve any classes which are necessary for basic operations.
48
48
*
You can’t perform that action at this time.
0 commit comments