-
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
Rework edge model service to use database #1273
Rework edge model service to use database #1273
Conversation
c5dca0b
to
852cd4d
Compare
Codecov ReportBase: 88.22% // Head: 88.29% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1273 +/- ##
==========================================
+ Coverage 88.22% 88.29% +0.07%
==========================================
Files 222 226 +4
Lines 6826 6827 +1
==========================================
+ Hits 6022 6028 +6
+ Misses 804 799 -5
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. |
_ = this.mockTableClientFactory.Setup(c => c.GetEdgeDeviceTemplates()) | ||
.Returns(this.mockEdgeDeviceTemplatesTableClient.Object); | ||
_ = this.mockEdgeDeviceModelRepository.Setup(x => x.GetByIdAsync(It.IsAny<string>())) | ||
.ReturnsAsync((EdgeDeviceModel)null); |
Check warning
Code scanning / CodeQL
Useless upcast
|
||
var mockModuleCommandResponse = this.mockRepository.Create<Response>(); | ||
_ = this.mockEdgeDeviceModelRepository.Setup(x => x.GetByIdAsync(It.IsAny<string>())) | ||
.ReturnsAsync((EdgeDeviceModel)null); |
Check warning
Code scanning / CodeQL
Useless upcast
_ = this.mockTableClientFactory.Setup(c => c.GetEdgeDeviceTemplates()) | ||
.Returns(this.mockEdgeDeviceTemplatesTableClient.Object); | ||
_ = this.mockEdgeDeviceModelRepository.Setup(x => x.GetByIdAsync(It.IsAny<string>())) | ||
.ReturnsAsync((EdgeDeviceModel)null); |
Check warning
Code scanning / CodeQL
Useless upcast
ModelId = null | ||
}; | ||
_ = this.mockEdgeDeviceModelRepository.Setup(x => x.GetByIdAsync(It.IsAny<string>())) | ||
.ReturnsAsync((EdgeDeviceModel)null); |
Check warning
Code scanning / CodeQL
Useless upcast
Description
What's new?
What kind of change does this PR introduce?