NIHVIVO-1261 Pass the ServletContext down the chain to FileServingHelper, to prepare for the change in ConfigurationProperties.

This commit is contained in:
jeb228 2011-02-24 17:32:40 +00:00
parent ec12d6c743
commit f16c1826be
9 changed files with 58 additions and 35 deletions

View file

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