Changeset 18666 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2023-02-16T16:58:19+01:00 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/oauth/OAuth20AuthorizationTest.java
r18665 r18666 3 3 4 4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertFalse;6 5 import static org.junit.jupiter.api.Assertions.assertNotNull; 6 import static org.junit.jupiter.api.Assertions.assertNull; 7 7 import static org.junit.jupiter.api.Assertions.assertTrue; 8 8 … … 208 208 client.disconnect(); 209 209 } 210 assert False(consumer.get().isPresent());210 assertNull(consumer.get(), "The OAuth consumer should not be called since the state does not match"); 211 211 } 212 212 }
Note:
See TracChangeset
for help on using the changeset viewer.