mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-19 07:53:08 +00:00
Address questions about dummy methods. This breaks tests. #2893
Merge more from dspace-server-webapp to make tests work again. Tidy up XML layout. Improve alignment of declared to actual dependencies.
This commit is contained in:
@@ -60,7 +60,9 @@ public class MockSolrLoggerServiceImpl
|
||||
}
|
||||
|
||||
/**
|
||||
* A mock/fake GeoIP CityResponse, which will be used for *all* test statistical requests
|
||||
* A mock/fake GeoIP CityResponse, which will be used for *all* test
|
||||
* statistical requests.
|
||||
*
|
||||
* @return faked CityResponse
|
||||
*/
|
||||
private CityResponse mockCityResponse() {
|
||||
@@ -79,7 +81,7 @@ public class MockSolrLoggerServiceImpl
|
||||
new Traits());
|
||||
}
|
||||
|
||||
/** Remove all records. */
|
||||
/** Reset the core for the next test. See {@link MockSolrServer#reset()}. */
|
||||
public void reset() {
|
||||
mockSolrServer.reset();
|
||||
}
|
||||
|
Reference in New Issue
Block a user