We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a15338e commit 2b212e1Copy full SHA for 2b212e1
src/test/java/de/meggsimum/w3w/What3WordsTest.java
@@ -98,7 +98,7 @@ public void testChangeLang() throws Exception {
98
@Test
99
public void testWhat3WordsException() throws Exception {
100
expectedException.expect(Exception.class);
101
- expectedException.expectMessage("Error returned from w3w API: Missing or invalid key");
+ expectedException.expectMessage("Authentication failed; invalid API key");
102
What3Words w3w = new What3Words(UUID.randomUUID().toString() + apiKey);
103
double[] coords = {49.422636, 8.320833};
104
w3w.positionToWords(coords);
0 commit comments