Removed required=false. Renamed test name

This commit is contained in:
Volodymyr Babak 2022-10-12 12:27:22 +03:00
parent ecda9c8e2f
commit 35288bbfe8
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ public abstract class BaseEdgeProcessor {
@Autowired @Autowired
protected TelemetrySubscriptionService tsSubService; protected TelemetrySubscriptionService tsSubService;
@Autowired(required = false) @Autowired
protected TbNotificationEntityService notificationEntityService; protected TbNotificationEntityService notificationEntityService;
@Autowired @Autowired

View File

@ -2152,7 +2152,7 @@ abstract public class BaseEdgeTest extends AbstractControllerTest {
} }
@Test @Test
public void updateSharedAttributeOnCloudAndValidateDeviceSubscription() throws Exception { public void sendUpdateSharedAttributeToCloudAndValidateDeviceSubscription() throws Exception {
Device device = saveDeviceOnCloudAndVerifyDeliveryToEdge(); Device device = saveDeviceOnCloudAndVerifyDeliveryToEdge();
DeviceCredentials deviceCredentials = doGet("/api/device/" + device.getUuidId() + "/credentials", DeviceCredentials.class); DeviceCredentials deviceCredentials = doGet("/api/device/" + device.getUuidId() + "/credentials", DeviceCredentials.class);