Skip to content

Commit

Permalink
Reset validation before test
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Dec 4, 2024
1 parent 71c1120 commit 6e1fb2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public void validationDisable() {
Way t = (Way) App.getDelegator().getOsmElement(Way.NAME, 96291968L);
assertNotNull(t);
assertTrue(t.hasTag("amenity", "school"));
t.resetHasProblem();
assertEquals(Validator.MISSING_TAG, t.hasProblem(main, App.getDefaultValidator(main)));

// toggle off
Expand Down

0 comments on commit 6e1fb2a

Please sign in to comment.