Skip to content

Conversation

@Psychoboy
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 22, 2025 12:52
@sonarqubecloud
Copy link

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the test project from .NET 9.0 to .NET 10.0, including updates to package dependencies and test code adaptations for the new MockQueryable library API.

Key changes:

  • Updated target framework from net9.0 to net10.0
  • Updated NuGet packages to version 10.x compatible versions (Entity Framework Core, MockQueryable, etc.)
  • Refactored test code to use the new MockQueryable API pattern: BuildMockDbSet().AsQueryable() instead of AsQueryable().BuildMockDbSet()

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
DotNetTwitchBot.Test.csproj Updated target framework to net10.0 and upgraded package dependencies to version 10.x
RaidTrackerTests.cs Updated MockQueryable API usage to new BuildMockDbSet().AsQueryable() pattern
DeathCountersTests.cs Changed field types from DbSet to IQueryable and updated MockQueryable API usage
ViewerFeatureTests.cs Changed field types from DbSet to IQueryable and updated MockQueryable API usage
GiveawayFeatureTests.cs Changed field types from DbSet to IQueryable and updated MockQueryable API usage
AudioCommandsTests.cs Updated MockQueryable API usage to new BuildMockDbSet().AsQueryable() pattern
CommandlerHandlerTests.cs Added MockQueryable.NSubstitute import and updated API usage with syntax errors
ChannelPointRedeemTests.cs Added MockQueryable import and refactored query setup for better readability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Psychoboy Psychoboy merged commit 2949741 into main Dec 22, 2025
6 checks passed
@Psychoboy Psychoboy deleted the updateTestToNet10 branch December 22, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants