-
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
Refactor DevicesControllerBase #986 #1172
Refactor DevicesControllerBase #986 #1172
Conversation
Codecov ReportBase: 87.92% // Head: 87.96% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1172 +/- ##
==========================================
+ Coverage 87.92% 87.96% +0.03%
==========================================
Files 217 217
Lines 6923 6920 -3
==========================================
Hits 6087 6087
+ Misses 836 833 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
var deviceId = Guid.NewGuid().ToString(); | ||
|
||
_ = this.mockRegistryManager.Setup(c => c.GetTwinAsync(It.Is<string>(x => x == deviceId))) | ||
.ReturnsAsync((Twin)null); |
Check warning
Code scanning / CodeQL
Useless upcast
5236326
to
456520c
Compare
d790ce7
to
224fb72
Compare
var service = CreateService(); | ||
var deviceId = Guid.NewGuid().ToString(); | ||
_ = this.mockRegistryManager.Setup(c => c.GetDeviceAsync(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?