Commit ec05751198460f715a540e413361ac3edb95b6d0

Authored by ShvaykaD
1 parent ec8808c9

fix typo in AbstractMqttAttributesUpdatesJsonIntegrationTest

... ... @@ -20,9 +20,11 @@ import org.junit.After;
20 20 import org.junit.Before;
21 21 import org.junit.Test;
22 22 import org.thingsboard.server.common.data.TransportPayloadType;
  23 +import org.thingsboard.server.common.data.device.profile.MqttTopics;
  24 +import org.thingsboard.server.transport.mqtt.attributes.AbstractMqttAttributesIntegrationTest;
23 25
24 26 @Slf4j
25   -public abstract class AbstractMqttAttributesUpdatesJsonIntegrationTest extends AbstractMqttAttributesUpdatesIntegrationTest {
  27 +public abstract class AbstractMqttAttributesUpdatesJsonIntegrationTest extends AbstractMqttAttributesIntegrationTest {
26 28
27 29 @Before
28 30 public void beforeTest() throws Exception {
... ... @@ -36,21 +38,21 @@ public abstract class AbstractMqttAttributesUpdatesJsonIntegrationTest extends A
36 38
37 39 @Test
38 40 public void testJsonSubscribeToAttributesUpdatesFromTheServer() throws Exception {
39   - super.testJsonSubscribeToAttributesUpdatesFromTheServer();
  41 + processJsonTestSubscribeToAttributesUpdates(MqttTopics.DEVICE_ATTRIBUTES_TOPIC);
40 42 }
41 43
42 44 @Test
43 45 public void testJsonSubscribeToAttributesUpdatesFromTheServerOnShortTopic() throws Exception {
44   - super.testJsonSubscribeToAttributesUpdatesFromTheServerOnShortTopic();
  46 + processJsonTestSubscribeToAttributesUpdates(MqttTopics.DEVICE_ATTRIBUTES_SHORT_TOPIC);
45 47 }
46 48
47 49 @Test
48 50 public void testJsonSubscribeToAttributesUpdatesFromTheServerOnShortJsonTopic() throws Exception {
49   - super.testJsonSubscribeToAttributesUpdatesFromTheServerOnShortJsonTopic();
  51 + processJsonTestSubscribeToAttributesUpdates(MqttTopics.DEVICE_ATTRIBUTES_SHORT_JSON_TOPIC);
50 52 }
51 53
52 54 @Test
53 55 public void testJsonSubscribeToAttributesUpdatesFromTheServerGateway() throws Exception {
54   - super.testJsonSubscribeToAttributesUpdatesFromTheServerGateway();
  56 + processJsonGatewayTestSubscribeToAttributesUpdates();
55 57 }
56 58 }
... ...