Opened 4 years ago

Last modified 4 years ago

#22116 closed defect

Wikipedia tests have been failing — at Initial Version

Reported by: taylor.smock Owned by: floscher
Priority: normal Milestone:
Component: Plugin wikipedia Version:
Keywords: Cc:

Description

https://josm.openstreetmap.de/jenkins/job/JOSM-Plugins/2170/jdk=JDK11/testReport/junit/org.wikipedia/WikipediaAppTest/testForQuery/

It looks like https://www.wikidata.org/wiki/Q40 was changed. Updating the description should fix the test failure.

Relevant links:

  • test/unit/org/wikipedia/WikipediaAppTest.java

    diff --git a/test/unit/org/wikipedia/WikipediaAppTest.java b/test/unit/org/wikipedia/WikipediaAppTest.java
    index 6ad8029..639a044 100644
    a b public class WikipediaAppTest {  
    9292        assertThat(de.get(0).label, is("Österreich"));
    9393        assertThat(de.get(0).description, is("Staat in Mitteleuropa"));
    9494        assertThat(en.get(0).label, is("Austria"));
    95         assertThat(en.get(0).description, is("country in Europe"));
     95        assertThat(en.get(0).description, is("country in Central Europe"));
    9696    }
    9797
    9898    @Test

Change History (0)

Note: See TracTickets for help on using tickets.