From af07dffa6f4e1be0e3fb94fa84e67e753d38d059 Mon Sep 17 00:00:00 2001
From: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Date: Thu, 6 Feb 2025 17:07:43 -0500
Subject: [PATCH] Relax nullable in test projects (#5379)
* Relax nullable in test projects
* Fix xUnit Warnings
* More xUnit fixes
---
Directory.Build.props | 5 +++++
.../Controllers/v2/GroupsControllerTests.cs | 2 +-
.../Controllers/v2/UsersControllerTests.cs | 2 +-
test/Api.IntegrationTest/Api.IntegrationTest.csproj | 1 -
.../AdminConsole/Services/OrganizationServiceTests.cs | 2 --
.../Business/Tokenables/OrgUserInviteTokenableTests.cs | 2 +-
test/Core.Test/Utilities/CoreHelpersTests.cs | 6 +++---
test/Core.Test/Utilities/EncryptedStringAttributeTests.cs | 2 +-
.../Utilities/StrictEmailAddressAttributeTests.cs | 2 +-
.../Utilities/StrictEmailAddressListAttributeTests.cs | 2 +-
test/Events.IntegrationTest/Events.IntegrationTest.csproj | 7 +++----
test/Icons.Test/Models/IconLinkTests.cs | 2 +-
test/Identity.Test/Identity.Test.csproj | 3 +--
.../Infrastructure.Dapper.Test.csproj | 6 ++----
.../Infrastructure.IntegrationTest.csproj | 1 -
15 files changed, 21 insertions(+), 24 deletions(-)
diff --git a/Directory.Build.props b/Directory.Build.props
index 88b63d156c..71650fc16c 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -8,6 +8,11 @@
Bit.$(MSBuildProjectName)
enable
false
+
+ true
+ annotations
+
+