-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #843 - Issue when creating a new device if the DeviceID already exists #891
Conversation
Codecov Report
@@ Coverage Diff @@
## main #891 +/- ##
==========================================
+ Coverage 82.98% 83.00% +0.01%
==========================================
Files 154 154
Lines 5296 5300 +4
==========================================
+ Hits 4395 4399 +4
Misses 901 901
Continue to review full report at Codecov.
|
@@ -191,6 +191,9 @@ | |||
|
|||
Twin twin = null; | |||
|
|||
_ = this.mockDeviceService.Setup(c => c.GetDevice(It.IsAny<string>())) | |||
.ReturnsAsync((Device)null); |
Check warning
Code scanning / CodeQL
Useless upcast
@@ -396,6 +396,9 @@ | |||
|
|||
Twin twin = null; | |||
|
|||
_ = this.mockDeviceService.Setup(c => c.GetDevice(It.IsAny<string>())) | |||
.ReturnsAsync((Device)null); |
Check warning
Code scanning / CodeQL
Useless upcast
Description
What's new?
What kind of change does this PR introduce?