Fixed loading plugins: sometimes failed file was not correctly extracted
This commit is contained in:
@ -219,7 +219,6 @@ public class WebGoatIT implements SauceOnDemandSessionIdProvider {
|
||||
|
||||
@Test
|
||||
public void testStartMvc() {
|
||||
|
||||
driver.get(baseWebGoatUrl + "/start.mvc");
|
||||
|
||||
WebDriverWait wait = new WebDriverWait(driver, 10); // wait for a maximum of 5 seconds
|
||||
|
@ -22,7 +22,6 @@ public class LabelProviderTest {
|
||||
public void loadingPluginLabels() throws IOException {
|
||||
LabelProvider labelProvider = new LabelProvider();
|
||||
labelProvider.updatePluginResources(new ClassPathResource("log4j.properties").getFile().toPath());
|
||||
LabelProvider.refresh();
|
||||
assertThat(labelProvider.get(Locale.ENGLISH, "LessonCompleted"), CoreMatchers.equalTo(
|
||||
"Congratulations. You have successfully completed this lesson."));
|
||||
assertThat(labelProvider.get(Locale.ENGLISH, "log4j.appender.CONSOLE.Target"), CoreMatchers.equalTo(
|
||||
|
Reference in New Issue
Block a user