We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bc0ae1 commit b7edcb7Copy full SHA for b7edcb7
1 file changed
src/test/java/com/auth0/client/mgmt/ManagementAPITest.java
@@ -77,9 +77,11 @@ public void shouldThrowWhenApiTokenIsNull() throws Exception {
77
78
@Test
79
public void shouldThrowOnUpdateWhenApiTokenIsNull() throws Exception {
80
+ ManagementAPI api = new ManagementAPI(DOMAIN, API_TOKEN);
81
+
82
exception.expect(IllegalArgumentException.class);
83
exception.expectMessage("'api token' cannot be null!");
- new ManagementAPI(DOMAIN, null);
84
+ api.setApiToken(null);
85
}
86
87
0 commit comments