diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 63e2ef675..6fee654d1 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,18 +3,18 @@ "isRoot": true, "tools": { "dotnet-ef": { - "version": "10.0.1", + "version": "10.0.11", "commands": [ "dotnet-ef" ], "rollForward": false }, "microsoft.web.librarymanager.cli": { - "version": "3.0.71", + "version": "3.0.114", "commands": [ "libman" ], "rollForward": false } } -} \ No newline at end of file +} diff --git a/.cursor/rules/k7-tests.mdc b/.cursor/rules/k7-tests.mdc index 3e0397bc5..dae716fd1 100644 --- a/.cursor/rules/k7-tests.mdc +++ b/.cursor/rules/k7-tests.mdc @@ -1,12 +1,12 @@ --- -description: K7 testing conventions (NUnit, FluentAssertions, NSubstitute) +description: K7 testing conventions (NUnit, AwesomeAssertions, NSubstitute) globs: tests/** alwaysApply: false --- # Testing -Stack: NUnit, FluentAssertions, NSubstitute. AAA structure. +Stack: NUnit, AwesomeAssertions, NSubstitute. AAA structure. Naming: `{ClassUnderTest}Tests`, `{Method}_Should{Expected}_When{Condition}`. diff --git a/.github/instructions/tests.instructions.md b/.github/instructions/tests.instructions.md index bffed44fc..63ee739ba 100644 --- a/.github/instructions/tests.instructions.md +++ b/.github/instructions/tests.instructions.md @@ -6,4 +6,4 @@ applyTo: "tests/**" Follow [docs/dev/developing.md - Testing](../../docs/dev/developing.md#testing) and [CONTRIBUTING.md](../../CONTRIBUTING.md) (tests with behavior changes). -Summary: NUnit, FluentAssertions, NSubstitute; AAA; naming `{ClassUnderTest}Tests` / `{Method}_Should{Expected}_When{Condition}`; bUnit in `Clients.ComponentTests`. +Summary: NUnit, AwesomeAssertions, NSubstitute; AAA; naming `{ClassUnderTest}Tests` / `{Method}_Should{Expected}_When{Condition}`; bUnit in `Clients.ComponentTests`. diff --git a/AGENTS.md b/AGENTS.md index 581c5e7c3..445146389 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -88,7 +88,7 @@ No `Result` wrapper pattern. ## Testing (`tests/**`) -NUnit, FluentAssertions, NSubstitute; bUnit for critical components. Naming: `{ClassUnderTest}Tests`, `{Method}_Should{Expected}_When{Condition}`. Full project list and CI filters: [docs/dev/developing.md](docs/dev/developing.md#testing). +NUnit, AwesomeAssertions, NSubstitute; bUnit for critical components. Naming: `{ClassUnderTest}Tests`, `{Method}_Should{Expected}_When{Condition}`. Full project list and CI filters: [docs/dev/developing.md](docs/dev/developing.md#testing). ## Git Conventions diff --git a/Directory.Packages.props b/Directory.Packages.props index 2848d9791..19c56ff9f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,20 +5,18 @@ true - - - + + + - - + - + - - + @@ -39,15 +37,12 @@ - - - @@ -64,67 +59,62 @@ + - - + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - - - - - - + + + diff --git a/docs/dev/developing.md b/docs/dev/developing.md index ff6e6bb23..9334c2e8f 100644 --- a/docs/dev/developing.md +++ b/docs/dev/developing.md @@ -129,7 +129,7 @@ A normal `dotnet build` on `src/Server/Web` regenerates the document. Prefer sha ## Testing -Stack: **NUnit**, **FluentAssertions**, **NSubstitute**. Blazor component tests use **bUnit**. Naming: `{ClassUnderTest}Tests`, `{Method}_Should{Expected}_When{Condition}`. +Stack: **NUnit**, **AwesomeAssertions**, **NSubstitute**. Blazor component tests use **bUnit**. Naming: `{ClassUnderTest}Tests`, `{Method}_Should{Expected}_When{Condition}`. New behavior should ship with tests in the matching project (unit, bUnit, functional, or integration). Prefer covering the happy path and important failure cases for Application handlers and critical UI. @@ -159,6 +159,12 @@ Functional/integration tests need **Docker** (Testcontainers.PostgreSQL + Respaw K7 uses **[Renovate](https://docs.renovatebot.com/)** (self-hosted via GitHub Actions), not Dependabot version updates. Config: [`renovate.json`](../../renovate.json). Workflow: [`.github/workflows/renovate.yml`](../../.github/workflows/renovate.yml) (weekly Monday + `workflow_dispatch`). +Renovate groups only packages that must bump together (OpenIddict, OpenTelemetry, SkiaSharp, LibVLC, SQLite natives, Google Play Services, Microsoft runtime minors). Everything else gets its own PR so one breaking bump cannot block the rest. Majors for `Microsoft.OpenApi` (incompatible with `Microsoft.AspNetCore.OpenApi` 10) are disabled. + +`Directory.Packages.props` also pins some transitive packages (`Azure.Identity`, `System.Drawing.Common`, `SSH.NET`) to patched versions. CI fails `dotnet list package --vulnerable` if those pins are removed. + +Commit messages use `chore(deps): bump to vX.Y.Z`. Renovate always writes **one commit per PR** (it force-pushes that single commit when it rebases). Isolated per-package history therefore comes from ungrouped PRs, not from multiple commits inside a grouped PR. + The job installs the `maui-android` workload on the runner so NuGet restore works for MAUI, including `android-arm` (Fire Stick / 32-bit). It uses the workflow `GITHUB_TOKEN` (no secret required). Repo **Settings -> Actions -> General** must allow Actions to create pull requests (write permissions). Without this, Renovate pushes branches but cannot open PRs. diff --git a/renovate.json b/renovate.json index b0b3e848c..55b0a8587 100644 --- a/renovate.json +++ b/renovate.json @@ -13,19 +13,63 @@ "prHourlyLimit": 0, "prCreation": "immediate", "rangeStrategy": "bump", + "commitMessageAction": "bump", + "commitMessageTopic": "{{depName}}", "osvVulnerabilityAlerts": true, "packageRules": [ { - "description": "Group all other NuGet packages (CPM)", + "description": "Group OpenIddict packages (must bump together)", "matchManagers": ["nuget"], - "matchPackageNames": ["!/^Microsoft\\./", "!/^System\\./", "!/^Aspire\\./"], - "groupName": "nuget other" + "matchPackageNames": ["/^OpenIddict/"], + "groupName": "openiddict" }, { - "description": "Group Microsoft / System / Aspire NuGet packages (CPM)", + "description": "Group OpenTelemetry packages", "matchManagers": ["nuget"], - "matchPackageNames": ["/^Microsoft\\./", "/^System\\./", "/^Aspire\\./"], - "groupName": "nuget microsoft" + "matchPackageNames": ["/^OpenTelemetry/"], + "groupName": "opentelemetry" + }, + { + "description": "Group SkiaSharp family", + "matchManagers": ["nuget"], + "matchPackageNames": ["/^SkiaSharp/", "Svg.Skia"], + "groupName": "skiasharp" + }, + { + "description": "Group LibVLCSharp alpha stack", + "matchManagers": ["nuget"], + "matchPackageNames": ["/^LibVLCSharp/", "VideoLAN.LibVLC.Windows"], + "groupName": "libvlc" + }, + { + "description": "Group SQLite native pins", + "matchManagers": ["nuget"], + "matchPackageNames": ["/^SQLitePCLRaw/", "SourceGear.sqlite3"], + "groupName": "sqlite-native" + }, + { + "description": "Group Google Play Services / Cast", + "matchManagers": ["nuget"], + "matchPackageNames": ["/^Xamarin.GooglePlayServices/"], + "groupName": "google-play-services" + }, + { + "description": "Group ASP.NET / EF / Extensions / Aspire minors and patches only", + "matchManagers": ["nuget"], + "matchPackageNames": [ + "/^Microsoft\\.(AspNetCore|EntityFrameworkCore|Extensions)\\./", + "/^System\\.(Text\\.Json|IdentityModel)/", + "Microsoft.IdentityModel.Protocols.OpenIdConnect", + "/^Aspire\\./" + ], + "matchUpdateTypes": ["minor", "patch"], + "groupName": "microsoft runtime" + }, + { + "description": "Microsoft.OpenApi 3.x is incompatible with Microsoft.AspNetCore.OpenApi 10", + "matchPackageNames": ["Microsoft.OpenApi"], + "matchUpdateTypes": ["major"], + "enabled": false }, { "description": "Group GitHub Actions updates", diff --git a/src/Clients/MAUI/K7.Clients.MAUI.csproj b/src/Clients/MAUI/K7.Clients.MAUI.csproj index 06ee0f04e..143452ddd 100644 --- a/src/Clients/MAUI/K7.Clients.MAUI.csproj +++ b/src/Clients/MAUI/K7.Clients.MAUI.csproj @@ -98,7 +98,6 @@ - diff --git a/src/Server/Infrastructure/Database/Context/Identity/IdentityNoOpEmailSender.cs b/src/Server/Infrastructure/Database/Context/Identity/IdentityNoOpEmailSender.cs index 596ca1b6f..0b234bf9b 100644 --- a/src/Server/Infrastructure/Database/Context/Identity/IdentityNoOpEmailSender.cs +++ b/src/Server/Infrastructure/Database/Context/Identity/IdentityNoOpEmailSender.cs @@ -1,20 +1,15 @@ using Microsoft.AspNetCore.Identity; -using Microsoft.AspNetCore.Identity.UI.Services; -namespace K7.Server.Infrastructure.Database.Context.Identity -{ - // Remove the "else if (EmailSender is IdentityNoOpEmailSender)" block from RegisterConfirmation.razor after updating with a real implementation. - public sealed class IdentityNoOpEmailSender : IEmailSender - { - private readonly IEmailSender emailSender = new NoOpEmailSender(); +namespace K7.Server.Infrastructure.Database.Context.Identity; - public Task SendConfirmationLinkAsync(ApplicationUser user, string email, string confirmationLink) => - emailSender.SendEmailAsync(email, "Confirm your email", $"Please confirm your account by clicking here."); +public sealed class IdentityNoOpEmailSender : IEmailSender +{ + public Task SendConfirmationLinkAsync(ApplicationUser user, string email, string confirmationLink) => + Task.CompletedTask; - public Task SendPasswordResetLinkAsync(ApplicationUser user, string email, string resetLink) => - emailSender.SendEmailAsync(email, "Reset your password", $"Please reset your password by clicking here."); + public Task SendPasswordResetLinkAsync(ApplicationUser user, string email, string resetLink) => + Task.CompletedTask; - public Task SendPasswordResetCodeAsync(ApplicationUser user, string email, string resetCode) => - emailSender.SendEmailAsync(email, "Reset your password", $"Please reset your password using the following code: {resetCode}"); - } + public Task SendPasswordResetCodeAsync(ApplicationUser user, string email, string resetCode) => + Task.CompletedTask; } diff --git a/src/Server/Web/K7.Server.Web.csproj b/src/Server/Web/K7.Server.Web.csproj index 7b40ab34d..7b0794a8f 100644 --- a/src/Server/Web/K7.Server.Web.csproj +++ b/src/Server/Web/K7.Server.Web.csproj @@ -53,7 +53,6 @@ - diff --git a/tests/Application.FunctionalTests/Application.FunctionalTests.csproj b/tests/Application.FunctionalTests/Application.FunctionalTests.csproj index 391b6eeef..5c534d683 100644 --- a/tests/Application.FunctionalTests/Application.FunctionalTests.csproj +++ b/tests/Application.FunctionalTests/Application.FunctionalTests.csproj @@ -1,4 +1,4 @@ - + K7.Server.Application.FunctionalTests @@ -15,7 +15,7 @@ - + diff --git a/tests/Application.FunctionalTests/GlobalUsings.cs b/tests/Application.FunctionalTests/GlobalUsings.cs index ad01976b3..79138fc31 100644 --- a/tests/Application.FunctionalTests/GlobalUsings.cs +++ b/tests/Application.FunctionalTests/GlobalUsings.cs @@ -1,3 +1,3 @@ -global using Ardalis.GuardClauses; -global using FluentAssertions; +global using Ardalis.GuardClauses; +global using AwesomeAssertions; global using NUnit.Framework; diff --git a/tests/Application.UnitTests/Application.UnitTests.csproj b/tests/Application.UnitTests/Application.UnitTests.csproj index 327526371..fb582351d 100644 --- a/tests/Application.UnitTests/Application.UnitTests.csproj +++ b/tests/Application.UnitTests/Application.UnitTests.csproj @@ -1,4 +1,4 @@ - + K7.Server.Application.UnitTests @@ -21,7 +21,7 @@ - + diff --git a/tests/Application.UnitTests/Common/Mappings/PlaybackSessionDetailsMappingsTests.cs b/tests/Application.UnitTests/Common/Mappings/PlaybackSessionDetailsMappingsTests.cs index d0f4b7122..d58a935f4 100644 --- a/tests/Application.UnitTests/Common/Mappings/PlaybackSessionDetailsMappingsTests.cs +++ b/tests/Application.UnitTests/Common/Mappings/PlaybackSessionDetailsMappingsTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common.Mappings; using K7.Server.Domain.Entities.Users; using K7.Server.Domain.Enums; diff --git a/tests/Application.UnitTests/Features/ClientAppPasswords/ClientAppPasswordServiceTests.cs b/tests/Application.UnitTests/Features/ClientAppPasswords/ClientAppPasswordServiceTests.cs index d9405aa4f..1111de6bf 100644 --- a/tests/Application.UnitTests/Features/ClientAppPasswords/ClientAppPasswordServiceTests.cs +++ b/tests/Application.UnitTests/Features/ClientAppPasswords/ClientAppPasswordServiceTests.cs @@ -1,6 +1,6 @@ using System.Security.Cryptography; using System.Text; -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Infrastructure.Database.Context.Services; using Microsoft.AspNetCore.DataProtection; diff --git a/tests/Application.UnitTests/Features/Devices/EnsureOpenSubsonicDeviceCommandTests.cs b/tests/Application.UnitTests/Features/Devices/EnsureOpenSubsonicDeviceCommandTests.cs index 3a801b50e..a813c4939 100644 --- a/tests/Application.UnitTests/Features/Devices/EnsureOpenSubsonicDeviceCommandTests.cs +++ b/tests/Application.UnitTests/Features/Devices/EnsureOpenSubsonicDeviceCommandTests.cs @@ -1,6 +1,6 @@ using System.Security.Cryptography; using System.Text; -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Features.Devices.Commands.EnsureOpenSubsonicDevice; namespace K7.Server.Application.UnitTests.Features.Devices; diff --git a/tests/Application.UnitTests/Features/Medias/Services/MediaIdentityKeysTests.cs b/tests/Application.UnitTests/Features/Medias/Services/MediaIdentityKeysTests.cs index 8d5c2f085..92d998713 100644 --- a/tests/Application.UnitTests/Features/Medias/Services/MediaIdentityKeysTests.cs +++ b/tests/Application.UnitTests/Features/Medias/Services/MediaIdentityKeysTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Features.Medias.Services; namespace K7.Server.Application.UnitTests.Features.Medias.Services; diff --git a/tests/Application.UnitTests/Features/Medias/Services/MusicArtistNameNormalizerTests.cs b/tests/Application.UnitTests/Features/Medias/Services/MusicArtistNameNormalizerTests.cs index ab49d1358..8cda6dfcf 100644 --- a/tests/Application.UnitTests/Features/Medias/Services/MusicArtistNameNormalizerTests.cs +++ b/tests/Application.UnitTests/Features/Medias/Services/MusicArtistNameNormalizerTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Features.Medias.Services; using NUnit.Framework; diff --git a/tests/Application.UnitTests/Features/MusicIntelligence/MusicIntelligenceInstantPlaylistSettingsTests.cs b/tests/Application.UnitTests/Features/MusicIntelligence/MusicIntelligenceInstantPlaylistSettingsTests.cs index 6e9f332a0..c4dc411b0 100644 --- a/tests/Application.UnitTests/Features/MusicIntelligence/MusicIntelligenceInstantPlaylistSettingsTests.cs +++ b/tests/Application.UnitTests/Features/MusicIntelligence/MusicIntelligenceInstantPlaylistSettingsTests.cs @@ -1,5 +1,5 @@ using System.Text.Json; -using FluentAssertions; +using AwesomeAssertions; using K7.Shared.Dtos; namespace K7.Server.Application.UnitTests.Features.MusicIntelligence; diff --git a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicConstantsTests.cs b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicConstantsTests.cs index c8fee1cf1..40b7ce3f3 100644 --- a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicConstantsTests.cs +++ b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicConstantsTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Features.OpenSubsonic; namespace K7.Server.Application.UnitTests.Features.OpenSubsonic; diff --git a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicReportPlaybackTests.cs b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicReportPlaybackTests.cs index adfbf263f..00a6e8870 100644 --- a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicReportPlaybackTests.cs +++ b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicReportPlaybackTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common.Interfaces; using K7.Server.Application.Common.Services; using K7.Server.Application.Features.Devices.Commands.EnsureOpenSubsonicDevice; diff --git a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicScrobbleTests.cs b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicScrobbleTests.cs index 371890bf5..752802db4 100644 --- a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicScrobbleTests.cs +++ b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicScrobbleTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common.Interfaces; using K7.Server.Application.Common.Services; using K7.Server.Application.Features.Devices.Commands.EnsureOpenSubsonicDevice; diff --git a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicServiceTests.cs b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicServiceTests.cs index 9f5183eb4..6ce90c997 100644 --- a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicServiceTests.cs +++ b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicServiceTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common.Interfaces; using K7.Server.Application.Common.Services; using K7.Server.Application.Features.OpenSubsonic; diff --git a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicStreamTranscodeTests.cs b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicStreamTranscodeTests.cs index cb9ce732e..157199c4d 100644 --- a/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicStreamTranscodeTests.cs +++ b/tests/Application.UnitTests/Features/OpenSubsonic/OpenSubsonicStreamTranscodeTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Features.OpenSubsonic; namespace K7.Server.Application.UnitTests.Features.OpenSubsonic; diff --git a/tests/Application.UnitTests/Features/SharedProfiles/CreateSharedProfileCommandValidatorTests.cs b/tests/Application.UnitTests/Features/SharedProfiles/CreateSharedProfileCommandValidatorTests.cs index c4baf813f..639fca78a 100644 --- a/tests/Application.UnitTests/Features/SharedProfiles/CreateSharedProfileCommandValidatorTests.cs +++ b/tests/Application.UnitTests/Features/SharedProfiles/CreateSharedProfileCommandValidatorTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Features.SharedProfiles.Commands.CreateSharedProfile; using NUnit.Framework; diff --git a/tests/Application.UnitTests/Features/SharedProfiles/PinHashHelperTests.cs b/tests/Application.UnitTests/Features/SharedProfiles/PinHashHelperTests.cs index 94bb939a7..221df113f 100644 --- a/tests/Application.UnitTests/Features/SharedProfiles/PinHashHelperTests.cs +++ b/tests/Application.UnitTests/Features/SharedProfiles/PinHashHelperTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common.Security; using NUnit.Framework; diff --git a/tests/Application.UnitTests/Features/SharedProfiles/SharedProfilePlaybackResolverTests.cs b/tests/Application.UnitTests/Features/SharedProfiles/SharedProfilePlaybackResolverTests.cs index 079c1efb8..b082204e6 100644 --- a/tests/Application.UnitTests/Features/SharedProfiles/SharedProfilePlaybackResolverTests.cs +++ b/tests/Application.UnitTests/Features/SharedProfiles/SharedProfilePlaybackResolverTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common.Interfaces; using K7.Server.Application.Services; using K7.Server.Domain.Entities.Users; diff --git a/tests/Application.UnitTests/GlobalUsings.cs b/tests/Application.UnitTests/GlobalUsings.cs index d0a944e51..555d3540c 100644 --- a/tests/Application.UnitTests/GlobalUsings.cs +++ b/tests/Application.UnitTests/GlobalUsings.cs @@ -1,3 +1,3 @@ -global using FluentAssertions; +global using AwesomeAssertions; global using NSubstitute; global using NUnit.Framework; diff --git a/tests/Application.UnitTests/Helpers/FileSystemIoTests.cs b/tests/Application.UnitTests/Helpers/FileSystemIoTests.cs index 943be1bb2..48adb03ed 100644 --- a/tests/Application.UnitTests/Helpers/FileSystemIoTests.cs +++ b/tests/Application.UnitTests/Helpers/FileSystemIoTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Helpers; namespace K7.Server.Application.UnitTests.Helpers; diff --git a/tests/Application.UnitTests/Helpers/Fmp4TfdtRebaseTests.cs b/tests/Application.UnitTests/Helpers/Fmp4TfdtRebaseTests.cs index e40a7eef8..2067258d6 100644 --- a/tests/Application.UnitTests/Helpers/Fmp4TfdtRebaseTests.cs +++ b/tests/Application.UnitTests/Helpers/Fmp4TfdtRebaseTests.cs @@ -1,5 +1,5 @@ using System.Buffers.Binary; -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Helpers; using K7.Server.Domain.Constants; diff --git a/tests/Application.UnitTests/Helpers/MediaIdentityKeyTests.cs b/tests/Application.UnitTests/Helpers/MediaIdentityKeyTests.cs index c30559d4b..79ef0421b 100644 --- a/tests/Application.UnitTests/Helpers/MediaIdentityKeyTests.cs +++ b/tests/Application.UnitTests/Helpers/MediaIdentityKeyTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Helpers; using K7.Server.Domain.Entities; using K7.Server.Domain.Enums; diff --git a/tests/Application.UnitTests/Helpers/MetadataPictureLockHelperTests.cs b/tests/Application.UnitTests/Helpers/MetadataPictureLockHelperTests.cs index 7a7eadbd5..87d7aab56 100644 --- a/tests/Application.UnitTests/Helpers/MetadataPictureLockHelperTests.cs +++ b/tests/Application.UnitTests/Helpers/MetadataPictureLockHelperTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Domain.Enums; using K7.Server.Domain.Helpers; diff --git a/tests/Application.UnitTests/Helpers/MetadataProviderHostMapperTests.cs b/tests/Application.UnitTests/Helpers/MetadataProviderHostMapperTests.cs index e100fe718..63be3811c 100644 --- a/tests/Application.UnitTests/Helpers/MetadataProviderHostMapperTests.cs +++ b/tests/Application.UnitTests/Helpers/MetadataProviderHostMapperTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common; using K7.Server.Application.Helpers; using K7.Server.Domain.Enums; diff --git a/tests/Application.UnitTests/ImportMediaTypeCompatibilityTests.cs b/tests/Application.UnitTests/ImportMediaTypeCompatibilityTests.cs index 7c0281132..1a4c5997a 100644 --- a/tests/Application.UnitTests/ImportMediaTypeCompatibilityTests.cs +++ b/tests/Application.UnitTests/ImportMediaTypeCompatibilityTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Domain.Enums; using K7.Shared; diff --git a/tests/Application.UnitTests/Security/ApiKeyServiceTests.cs b/tests/Application.UnitTests/Security/ApiKeyServiceTests.cs index cacbc887b..ed9009561 100644 --- a/tests/Application.UnitTests/Security/ApiKeyServiceTests.cs +++ b/tests/Application.UnitTests/Security/ApiKeyServiceTests.cs @@ -1,6 +1,6 @@ using System.Security.Cryptography; using System.Text; -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Infrastructure.Configuration; using K7.Server.Infrastructure.Database.Context.Services; using Microsoft.Extensions.Options; diff --git a/tests/Application.UnitTests/Services/ActiveStreamTrackerTests.cs b/tests/Application.UnitTests/Services/ActiveStreamTrackerTests.cs index 93b547a31..4aa55d4ec 100644 --- a/tests/Application.UnitTests/Services/ActiveStreamTrackerTests.cs +++ b/tests/Application.UnitTests/Services/ActiveStreamTrackerTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Services; using K7.Server.Domain.Enums; using K7.Shared.Dtos; diff --git a/tests/Application.UnitTests/Services/BackgroundTaskCandidateSelectorTests.cs b/tests/Application.UnitTests/Services/BackgroundTaskCandidateSelectorTests.cs index f263892db..560856e06 100644 --- a/tests/Application.UnitTests/Services/BackgroundTaskCandidateSelectorTests.cs +++ b/tests/Application.UnitTests/Services/BackgroundTaskCandidateSelectorTests.cs @@ -1,5 +1,5 @@ using System.Collections.Concurrent; -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common; using K7.Server.Application.Services; using K7.Server.Domain.Constants; diff --git a/tests/Application.UnitTests/Services/BackgroundTaskConcurrencyGateTests.cs b/tests/Application.UnitTests/Services/BackgroundTaskConcurrencyGateTests.cs index 50a8ee00c..3d5f9fb92 100644 --- a/tests/Application.UnitTests/Services/BackgroundTaskConcurrencyGateTests.cs +++ b/tests/Application.UnitTests/Services/BackgroundTaskConcurrencyGateTests.cs @@ -1,5 +1,5 @@ using System.Collections.Concurrent; -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common; using K7.Server.Application.Services; using K7.Server.Domain.Constants; diff --git a/tests/Application.UnitTests/Services/BackgroundTaskSchedulingTests.cs b/tests/Application.UnitTests/Services/BackgroundTaskSchedulingTests.cs index 6a8a154a5..9028ae72d 100644 --- a/tests/Application.UnitTests/Services/BackgroundTaskSchedulingTests.cs +++ b/tests/Application.UnitTests/Services/BackgroundTaskSchedulingTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Domain.Constants; using K7.Server.Domain.Enums; diff --git a/tests/Application.UnitTests/Services/EpisodeStillTimestampSelectorTests.cs b/tests/Application.UnitTests/Services/EpisodeStillTimestampSelectorTests.cs index 8f0489109..8960e5403 100644 --- a/tests/Application.UnitTests/Services/EpisodeStillTimestampSelectorTests.cs +++ b/tests/Application.UnitTests/Services/EpisodeStillTimestampSelectorTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common.Services; namespace K7.Server.Application.UnitTests.Services; diff --git a/tests/Application.UnitTests/Services/MediaIdentityLockTests.cs b/tests/Application.UnitTests/Services/MediaIdentityLockTests.cs index 2b7e00487..d4b91b629 100644 --- a/tests/Application.UnitTests/Services/MediaIdentityLockTests.cs +++ b/tests/Application.UnitTests/Services/MediaIdentityLockTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Services; namespace K7.Server.Application.UnitTests.Services; diff --git a/tests/Application.UnitTests/Services/MetadataProviderCooldownStoreTests.cs b/tests/Application.UnitTests/Services/MetadataProviderCooldownStoreTests.cs index 425099f77..826419b77 100644 --- a/tests/Application.UnitTests/Services/MetadataProviderCooldownStoreTests.cs +++ b/tests/Application.UnitTests/Services/MetadataProviderCooldownStoreTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Server.Application.Common; using K7.Server.Application.Services; diff --git a/tests/Clients.ComponentTests/Clients.ComponentTests.csproj b/tests/Clients.ComponentTests/Clients.ComponentTests.csproj index 7c051dadc..0ac733291 100644 --- a/tests/Clients.ComponentTests/Clients.ComponentTests.csproj +++ b/tests/Clients.ComponentTests/Clients.ComponentTests.csproj @@ -15,7 +15,7 @@ - + diff --git a/tests/Clients.ComponentTests/Components/K7SearchSelectTests.cs b/tests/Clients.ComponentTests/Components/K7SearchSelectTests.cs index 489598393..668b3a4d8 100644 --- a/tests/Clients.ComponentTests/Components/K7SearchSelectTests.cs +++ b/tests/Clients.ComponentTests/Components/K7SearchSelectTests.cs @@ -1,4 +1,3 @@ -using AngleSharp.Dom; using K7.Clients.Shared.UI; using K7.Clients.Shared.UI.Components; using Microsoft.AspNetCore.Components; @@ -81,7 +80,7 @@ public async Task CommitOnSelectOnly_ShouldNotInvokeCommitOnDebouncedSearch() .Add(x => x.SearchAsync, (_, _) => Task.FromResult>(["Actor A"]))); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); await input.InputAsync("tom"); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(1)); @@ -110,7 +109,7 @@ public async Task MinSearchLengthZero_ShouldSearchOnEnter() await input.FocusAsync(); searchCount.Should().Be(0); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(2)); searchCount.Should().Be(1); @@ -132,7 +131,7 @@ public async Task MinSearchLength_ShouldNotSearchBelowThreshold() })); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); searchCount.Should().Be(0); await input.InputAsync("t"); @@ -153,7 +152,7 @@ public async Task ArrowDown_ShouldHighlightNextOption() .Add(x => x.SearchAsync, (_, _) => Task.FromResult>(["Alpha", "Beta"]))); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); await input.InputAsync("ab"); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(2)); @@ -177,7 +176,7 @@ public async Task Escape_ShouldCloseDropdownWithoutCommit() .Add(x => x.SearchAsync, (_, _) => Task.FromResult>(["Actor A"]))); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); await input.InputAsync("tom"); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(1)); @@ -197,7 +196,7 @@ public async Task SpatialEditEnded_ShouldKeepSuggestionsOpen() .Add(x => x.SearchAsync, (_, _) => Task.FromResult>(["Actor A", "Actor B"]))); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); await input.InputAsync("to"); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(2)); @@ -222,7 +221,7 @@ public async Task AfterSpatialEditEnded_ArrowAndEnter_ShouldSelectSuggestion() .Add(x => x.SearchAsync, (_, _) => Task.FromResult>(["Alpha", "Beta"]))); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); await input.InputAsync("ab"); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(2)); @@ -255,7 +254,7 @@ public async Task EnterOnHint_ShouldCloseDropdownBeforeSlowCommitCompletes() .Add(x => x.SearchAsync, (_, _) => Task.FromResult>(["Actor A"]))); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); await input.InputAsync("ac"); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(1)); @@ -287,7 +286,7 @@ public async Task AfterSpatialEditEnded_Escape_ShouldCloseDropdownWithoutCommit( .Add(x => x.SearchAsync, (_, _) => Task.FromResult>(["Actor A"]))); var input = cut.Find("input"); - await BeginEditingAsync(input); + await BeginEditingAsync(cut); await input.InputAsync("tom"); cut.WaitForAssertion(() => cut.FindAll(".k7-search-select-option").Count.Should().Be(1)); @@ -312,8 +311,6 @@ private static BunitContext CreateContext() return ctx; } - private static async Task BeginEditingAsync(IElement input) - { - await input.KeyDownAsync("Enter"); - } + private static Task BeginEditingAsync(IRenderedComponent cut) => + cut.Find("input").KeyDownAsync("Enter"); } diff --git a/tests/Clients.ComponentTests/GlobalUsings.cs b/tests/Clients.ComponentTests/GlobalUsings.cs index 50a966073..41a2a10cf 100644 --- a/tests/Clients.ComponentTests/GlobalUsings.cs +++ b/tests/Clients.ComponentTests/GlobalUsings.cs @@ -1,4 +1,4 @@ global using NUnit.Framework; global using Bunit; -global using FluentAssertions; +global using AwesomeAssertions; global using NSubstitute; diff --git a/tests/Clients.ComponentTests/Helpers/ExoPlaybackStateMappingTests.cs b/tests/Clients.ComponentTests/Helpers/ExoPlaybackStateMappingTests.cs index 9b52a478c..808b0c538 100644 --- a/tests/Clients.ComponentTests/Helpers/ExoPlaybackStateMappingTests.cs +++ b/tests/Clients.ComponentTests/Helpers/ExoPlaybackStateMappingTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; using K7.Server.Domain.Enums; diff --git a/tests/Clients.ComponentTests/Helpers/LibVlcWindowsCapabilitiesTests.cs b/tests/Clients.ComponentTests/Helpers/LibVlcWindowsCapabilitiesTests.cs index 2a1d0fda4..920ee3677 100644 --- a/tests/Clients.ComponentTests/Helpers/LibVlcWindowsCapabilitiesTests.cs +++ b/tests/Clients.ComponentTests/Helpers/LibVlcWindowsCapabilitiesTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; namespace K7.Clients.ComponentTests.Helpers; diff --git a/tests/Clients.ComponentTests/Helpers/LocalPlaybackUrlTests.cs b/tests/Clients.ComponentTests/Helpers/LocalPlaybackUrlTests.cs index d7d1c704a..56f7a1ea7 100644 --- a/tests/Clients.ComponentTests/Helpers/LocalPlaybackUrlTests.cs +++ b/tests/Clients.ComponentTests/Helpers/LocalPlaybackUrlTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; namespace K7.Clients.ComponentTests.Helpers; diff --git a/tests/Clients.ComponentTests/Helpers/NativeSeekThumbnailHelperTests.cs b/tests/Clients.ComponentTests/Helpers/NativeSeekThumbnailHelperTests.cs index 19465bf2d..c580bfa27 100644 --- a/tests/Clients.ComponentTests/Helpers/NativeSeekThumbnailHelperTests.cs +++ b/tests/Clients.ComponentTests/Helpers/NativeSeekThumbnailHelperTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; namespace K7.Clients.ComponentTests.Helpers; diff --git a/tests/Clients.ComponentTests/Helpers/NativeSettingsFocusNavigatorTests.cs b/tests/Clients.ComponentTests/Helpers/NativeSettingsFocusNavigatorTests.cs index 1a1ea3479..af412d1e1 100644 --- a/tests/Clients.ComponentTests/Helpers/NativeSettingsFocusNavigatorTests.cs +++ b/tests/Clients.ComponentTests/Helpers/NativeSettingsFocusNavigatorTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; namespace K7.Clients.ComponentTests.Helpers; diff --git a/tests/Clients.ComponentTests/Helpers/NativeVideoBackStackTests.cs b/tests/Clients.ComponentTests/Helpers/NativeVideoBackStackTests.cs index d11fcb278..2c0de7b3f 100644 --- a/tests/Clients.ComponentTests/Helpers/NativeVideoBackStackTests.cs +++ b/tests/Clients.ComponentTests/Helpers/NativeVideoBackStackTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; using K7.Server.Domain.Enums; diff --git a/tests/Clients.ComponentTests/Helpers/NativeVideoPlaybackEndTests.cs b/tests/Clients.ComponentTests/Helpers/NativeVideoPlaybackEndTests.cs index 07db2ae43..16ca6033a 100644 --- a/tests/Clients.ComponentTests/Helpers/NativeVideoPlaybackEndTests.cs +++ b/tests/Clients.ComponentTests/Helpers/NativeVideoPlaybackEndTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; using K7.Server.Domain.Enums; diff --git a/tests/Clients.ComponentTests/Helpers/StreamingSourceKindTests.cs b/tests/Clients.ComponentTests/Helpers/StreamingSourceKindTests.cs index 9ffcd03a5..4b7bc3fa1 100644 --- a/tests/Clients.ComponentTests/Helpers/StreamingSourceKindTests.cs +++ b/tests/Clients.ComponentTests/Helpers/StreamingSourceKindTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; namespace K7.Clients.ComponentTests.Helpers; diff --git a/tests/Clients.ComponentTests/Helpers/VideoRemoteTransportKeysTests.cs b/tests/Clients.ComponentTests/Helpers/VideoRemoteTransportKeysTests.cs index 9dbb88232..8386204a8 100644 --- a/tests/Clients.ComponentTests/Helpers/VideoRemoteTransportKeysTests.cs +++ b/tests/Clients.ComponentTests/Helpers/VideoRemoteTransportKeysTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Helpers; namespace K7.Clients.ComponentTests.Helpers; diff --git a/tests/Clients.ComponentTests/Models/VideoQualityOptionTests.cs b/tests/Clients.ComponentTests/Models/VideoQualityOptionTests.cs index 8aee0f1cc..0b4e3b1cb 100644 --- a/tests/Clients.ComponentTests/Models/VideoQualityOptionTests.cs +++ b/tests/Clients.ComponentTests/Models/VideoQualityOptionTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.Shared.Models; using K7.Server.Domain.Enums; using NUnit.Framework; diff --git a/tests/Clients.ComponentTests/PreferenceKeyCatalogTests.cs b/tests/Clients.ComponentTests/PreferenceKeyCatalogTests.cs index 071421ef6..c0b1c4488 100644 --- a/tests/Clients.ComponentTests/PreferenceKeyCatalogTests.cs +++ b/tests/Clients.ComponentTests/PreferenceKeyCatalogTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Shared; namespace K7.Clients.ComponentTests; diff --git a/tests/Clients.DesignSystem.SmokeTests/Clients.DesignSystem.SmokeTests.csproj b/tests/Clients.DesignSystem.SmokeTests/Clients.DesignSystem.SmokeTests.csproj index 033d04f34..a96108664 100644 --- a/tests/Clients.DesignSystem.SmokeTests/Clients.DesignSystem.SmokeTests.csproj +++ b/tests/Clients.DesignSystem.SmokeTests/Clients.DesignSystem.SmokeTests.csproj @@ -15,7 +15,7 @@ - + diff --git a/tests/Clients.DesignSystem.SmokeTests/GlobalUsings.cs b/tests/Clients.DesignSystem.SmokeTests/GlobalUsings.cs index 91a038c4c..f3692cf1c 100644 --- a/tests/Clients.DesignSystem.SmokeTests/GlobalUsings.cs +++ b/tests/Clients.DesignSystem.SmokeTests/GlobalUsings.cs @@ -1,2 +1,2 @@ -global using FluentAssertions; +global using AwesomeAssertions; global using NUnit.Framework; diff --git a/tests/Clients.MAUI.SmokeTests/Clients.MAUI.SmokeTests.csproj b/tests/Clients.MAUI.SmokeTests/Clients.MAUI.SmokeTests.csproj index dc8ec4d9b..1c28527a5 100644 --- a/tests/Clients.MAUI.SmokeTests/Clients.MAUI.SmokeTests.csproj +++ b/tests/Clients.MAUI.SmokeTests/Clients.MAUI.SmokeTests.csproj @@ -19,7 +19,7 @@ - + diff --git a/tests/Clients.MAUI.SmokeTests/GlobalUsings.cs b/tests/Clients.MAUI.SmokeTests/GlobalUsings.cs index 91a038c4c..f3692cf1c 100644 --- a/tests/Clients.MAUI.SmokeTests/GlobalUsings.cs +++ b/tests/Clients.MAUI.SmokeTests/GlobalUsings.cs @@ -1,2 +1,2 @@ -global using FluentAssertions; +global using AwesomeAssertions; global using NUnit.Framework; diff --git a/tests/Clients.MAUI.SmokeTests/VlcAuthProxyHlsMasterTests.cs b/tests/Clients.MAUI.SmokeTests/VlcAuthProxyHlsMasterTests.cs index 8cb163b38..caa15abe9 100644 --- a/tests/Clients.MAUI.SmokeTests/VlcAuthProxyHlsMasterTests.cs +++ b/tests/Clients.MAUI.SmokeTests/VlcAuthProxyHlsMasterTests.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using AwesomeAssertions; using K7.Clients.MAUI.Playback; namespace K7.Clients.MAUI.SmokeTests; diff --git a/tests/Domain.UnitTests/Domain.UnitTests.csproj b/tests/Domain.UnitTests/Domain.UnitTests.csproj index 463bc9f3e..358c46c89 100644 --- a/tests/Domain.UnitTests/Domain.UnitTests.csproj +++ b/tests/Domain.UnitTests/Domain.UnitTests.csproj @@ -1,4 +1,4 @@ - + K7.Server.Domain.UnitTests @@ -14,7 +14,7 @@ - + diff --git a/tests/Domain.UnitTests/GlobalUsings.cs b/tests/Domain.UnitTests/GlobalUsings.cs index 91a038c4c..f3692cf1c 100644 --- a/tests/Domain.UnitTests/GlobalUsings.cs +++ b/tests/Domain.UnitTests/GlobalUsings.cs @@ -1,2 +1,2 @@ -global using FluentAssertions; +global using AwesomeAssertions; global using NUnit.Framework; diff --git a/tests/Import.UnitTests/GlobalUsings.cs b/tests/Import.UnitTests/GlobalUsings.cs index 91a038c4c..f3692cf1c 100644 --- a/tests/Import.UnitTests/GlobalUsings.cs +++ b/tests/Import.UnitTests/GlobalUsings.cs @@ -1,2 +1,2 @@ -global using FluentAssertions; +global using AwesomeAssertions; global using NUnit.Framework; diff --git a/tests/Import.UnitTests/Import.UnitTests.csproj b/tests/Import.UnitTests/Import.UnitTests.csproj index 84682c5fb..bebbb9155 100644 --- a/tests/Import.UnitTests/Import.UnitTests.csproj +++ b/tests/Import.UnitTests/Import.UnitTests.csproj @@ -14,7 +14,7 @@ - + diff --git a/tests/Infrastructure.IntegrationTests/GlobalUsings.cs b/tests/Infrastructure.IntegrationTests/GlobalUsings.cs index 91a038c4c..f3692cf1c 100644 --- a/tests/Infrastructure.IntegrationTests/GlobalUsings.cs +++ b/tests/Infrastructure.IntegrationTests/GlobalUsings.cs @@ -1,2 +1,2 @@ -global using FluentAssertions; +global using AwesomeAssertions; global using NUnit.Framework; diff --git a/tests/Infrastructure.IntegrationTests/Infrastructure.IntegrationTests.csproj b/tests/Infrastructure.IntegrationTests/Infrastructure.IntegrationTests.csproj index 93ae3523c..6ff2242ba 100644 --- a/tests/Infrastructure.IntegrationTests/Infrastructure.IntegrationTests.csproj +++ b/tests/Infrastructure.IntegrationTests/Infrastructure.IntegrationTests.csproj @@ -14,7 +14,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/Tests.Helpers/Tests.Helpers.csproj b/tests/Tests.Helpers/Tests.Helpers.csproj index 53388948f..09293ae78 100644 --- a/tests/Tests.Helpers/Tests.Helpers.csproj +++ b/tests/Tests.Helpers/Tests.Helpers.csproj @@ -1,4 +1,4 @@ - + K7.Tests.Helpers @@ -20,7 +20,7 @@ - + diff --git a/tests/Web.SmokeTests/GlobalUsings.cs b/tests/Web.SmokeTests/GlobalUsings.cs index 91a038c4c..f3692cf1c 100644 --- a/tests/Web.SmokeTests/GlobalUsings.cs +++ b/tests/Web.SmokeTests/GlobalUsings.cs @@ -1,2 +1,2 @@ -global using FluentAssertions; +global using AwesomeAssertions; global using NUnit.Framework; diff --git a/tests/Web.SmokeTests/Web.SmokeTests.csproj b/tests/Web.SmokeTests/Web.SmokeTests.csproj index 57680496d..1460bfaa7 100644 --- a/tests/Web.SmokeTests/Web.SmokeTests.csproj +++ b/tests/Web.SmokeTests/Web.SmokeTests.csproj @@ -14,7 +14,7 @@ - +