Skip to content

Commit

Permalink
Remove unused variables on LoRaWANConcentratorsControllerTest #977 (#978
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hocinehacherouf authored Jul 26, 2022
1 parent b33f6c4 commit 5eaa209
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,6 @@ public async Task WhenGetDeviceThrowAnErrorUpdateDeviceAsyncWithValidArgumentSho
RouterConfig = new RouterConfig()
};

var twin = new Twin
{
DeviceId = concentrator.DeviceId,
};

_ = this.mockDeviceService.Setup(x => x.GetDevice(It.Is<string>(c => c == concentrator.DeviceId)))
.ThrowsAsync(new InternalServerErrorException(""));

Expand All @@ -421,11 +416,6 @@ public async Task WhenUpdateDeviceThrowAnErrorUpdateDeviceAsyncWithValidArgument
RouterConfig = new RouterConfig()
};

var twin = new Twin
{
DeviceId = concentrator.DeviceId,
};

var device = new Device(concentrator.DeviceId);

_ = this.mockDeviceService.Setup(x => x.GetDevice(It.Is<string>(c => c == concentrator.DeviceId)))
Expand Down

0 comments on commit 5eaa209

Please sign in to comment.