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:
Mark H. Wood
2020-07-29 12:48:31 -04:00
parent ecd8a88633
commit 8ee4b7ab9d
7 changed files with 178 additions and 33 deletions

View File

@@ -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();
}