diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index d415af0..94cdb4d 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -10,20 +10,13 @@ env: jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x - - - name: Install libmsquic - run: | - wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb - sudo dpkg -i packages-microsoft-prod.deb - sudo apt-get update - sudo apt-get install libmsquic - name: Build run: dotnet build -c Release diff --git a/DragonFruit.Data.Tests/ClientTests.cs b/DragonFruit.Data.Tests/ClientTests.cs index c24fab0..8074daf 100644 --- a/DragonFruit.Data.Tests/ClientTests.cs +++ b/DragonFruit.Data.Tests/ClientTests.cs @@ -4,7 +4,6 @@ using System; using System.IO; using System.Net; -using System.Runtime.InteropServices; using System.Text.Json.Nodes; using System.Threading.Tasks; using DragonFruit.Data.Serializers; @@ -22,13 +21,6 @@ public class ClientTests : IDisposable UserAgent = "DragonFruit.Data.Tests" }; - [Fact] - public async Task TestClientVersionDefaults() - { - using var response = await _client.PerformAsync("https://cloudflare-quic.com"); - Assert.Equal(RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? HttpVersion.Version11 : HttpVersion.Version30, response.Version); - } - [Fact] public async Task TestUserAgentHeader() {