-
Notifications
You must be signed in to change notification settings - Fork 352
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
Port QueryCount and CancellationToken tests #3167
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)
test/EndToEndTests/Tests/Client/Microsoft.OData.Client.E2E.Tests/QueryCountTests/Server/QueryCountTestsController.cs:14
- The namespace should be 'Microsoft.OData.Client.E2E.Tests.QueryCountTests.Server' to match the file path and class purpose.
namespace Microsoft.OData.Client.E2E.Tests.QueryCountTests.Server;
using Microsoft.AspNetCore.OData.Routing.Controllers; | ||
using Microsoft.OData.Client.E2E.Tests.Common.Server.EndToEnd; | ||
|
||
namespace Microsoft.OData.Client.E2E.Tests.DeltaTests.Server; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The semicolon should be replaced with a curly brace to properly define the namespace.
namespace Microsoft.OData.Client.E2E.Tests.DeltaTests.Server; | |
namespace Microsoft.OData.Client.E2E.Tests.DeltaTests.Server { |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
return NotFound(); | ||
} | ||
|
||
customer.Orders ??= []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The empty array initialization is incorrect.
customer.Orders ??= []; | |
customer.Orders ??= new List<Order>(); |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
Issues
This pull request fixes #xxx.
Description
Port
Batch Request Tests
fromWCF
to useAspNetCoreOData
Checklist (Uncheck if it is not completed)
Additional work necessary
If documentation update is needed, please add "Docs Needed" label to the issue and provide details about the required document change in the issue.