Changed expected exception such as we have not connected client
This commit is contained in:
parent
05f92d7222
commit
d4ea646174
@ -115,7 +115,7 @@ public class BasicMqttCredentialsTest extends AbstractMqttIntegrationTest {
|
||||
testTelemetryIsDelivered(accessToken2Device, mqttTestClient5);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(expected = MqttException.class)
|
||||
public void testCorrectClientIdAndUserNameButWrongPassword() throws Exception {
|
||||
// Not correct. Correct clientId and username, but wrong password
|
||||
MqttTestClient mqttTestClient = new MqttTestClient(CLIENT_ID);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user