Commit ec05751198460f715a540e413361ac3edb95b6d0

Authored by ShvaykaD
1 parent ec8808c9

fix typo in AbstractMqttAttributesUpdatesJsonIntegrationTest

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