From 44fdf4022e2c37ed5a7639957b69c98c263e83a7 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 22 Aug 2019 11:06:10 +0200 Subject: [PATCH] Fix accidental C# 8.0 usage. --- Content.IntegrationTests/Content.IntegrationTests.csproj | 1 + Content.IntegrationTests/ContentIntegrationTest.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.IntegrationTests/Content.IntegrationTests.csproj b/Content.IntegrationTests/Content.IntegrationTests.csproj index 3aab81464b..292a9a1b12 100644 --- a/Content.IntegrationTests/Content.IntegrationTests.csproj +++ b/Content.IntegrationTests/Content.IntegrationTests.csproj @@ -7,6 +7,7 @@ false false x64 + 7.3 diff --git a/Content.IntegrationTests/ContentIntegrationTest.cs b/Content.IntegrationTests/ContentIntegrationTest.cs index 35a4efac86..209829dc89 100644 --- a/Content.IntegrationTests/ContentIntegrationTest.cs +++ b/Content.IntegrationTests/ContentIntegrationTest.cs @@ -11,7 +11,7 @@ namespace Content.IntegrationTests { protected override ClientIntegrationInstance StartClient(ClientIntegrationOptions options = null) { - options ??= new ClientIntegrationOptions(); + options = options ?? new ClientIntegrationOptions(); // ReSharper disable once RedundantNameQualifier options.ClientContentAssembly = typeof(Client.EntryPoint).Assembly; options.SharedContentAssembly = typeof(Shared.EntryPoint).Assembly; @@ -33,7 +33,7 @@ namespace Content.IntegrationTests protected override ServerIntegrationInstance StartServer(ServerIntegrationOptions options = null) { - options ??= new ServerIntegrationOptions(); + options = options ?? new ServerIntegrationOptions(); options.ServerContentAssembly = typeof(Server.EntryPoint).Assembly; options.SharedContentAssembly = typeof(Shared.EntryPoint).Assembly; return base.StartServer(options);