NIHVIVO-1261 Pass the ServletContext down the chain to FileServingHelper, to prepare for the change in ConfigurationProperties.
This commit is contained in:
parent
ec12d6c743
commit
f16c1826be
9 changed files with 58 additions and 35 deletions
|
@ -113,7 +113,7 @@ public class FileServingHelperTest extends AbstractTestClass {
|
|||
}
|
||||
|
||||
private void assertCorrectUrl(String uri, String filename, String expected) {
|
||||
String actual = FileServingHelper.getBytestreamAliasUrl(uri, filename);
|
||||
String actual = FileServingHelper.getBytestreamAliasUrl(uri, filename, null);
|
||||
assertEquals("url", expected, actual);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue