Skip to content

Commit

Permalink
chore: fix include usage in test (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdnoC authored Nov 24, 2020
1 parent 71421da commit 59fe72b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public void testAxeErrorHandling() throws IOException, OperationNotSupportedExce
@Test
public void testAccessibilityWithFewInclude() throws IOException, OperationNotSupportedException {
this.webDriver.get("file:///" + new File(includeExcludePage).getAbsolutePath());
Results result = new AxeBuilder().include(Arrays.asList("div", "p")).analyze(webDriver);
Results result = new AxeBuilder().include(Collections.singletonList("div")).include(Collections.singletonList("p")).analyze(webDriver);
List<Rule> violations = result.getViolations();
Assert.assertEquals("No violations found", 0, violations.size());
AxeReporter
Expand Down

0 comments on commit 59fe72b

Please sign in to comment.