Skip to content

Commit

Permalink
Updated xunit and Microsoft.NET.Test.Sdk NuGet packages
Browse files Browse the repository at this point in the history
  • Loading branch information
xperiandri committed Nov 2, 2024
1 parent 7cbb563 commit b904b04
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<MicrosoftExtensionsVersion>8.0.*</MicrosoftExtensionsVersion>
<AspNetCoreVersion>8.0.*</AspNetCoreVersion>
<FsToolkitVersion>4.15.*</FsToolkitVersion>
<XUnitVersion>2.9.0</XUnitVersion>
<XUnitVersion>2.9.2</XUnitVersion>
<FAKEVersion>6.*</FAKEVersion>
</PropertyGroup>
<ItemGroup Label="Common">
Expand Down Expand Up @@ -52,7 +52,7 @@
<ItemGroup Label="Test platform">
<PackageReference Update="BenchmarkDotNet" Version="0.14.*" />
<PackageReference Update="BenchmarkDotNet.Annotations" Version="0.*" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.11.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Update="Microsoft.TestPlatform.TestHost" Version="17.7.*" />
<PackageReference Update="Microsoft.TestPlatform.ObjectModel" Version="17.7.*" />
<PackageReference Update="xunit" Version="$(XUnitVersion)" />
Expand Down
6 changes: 3 additions & 3 deletions samples/chat-app/server/Schema.fs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module MapFrom =
FakePersistence.ChatMembers.Values
|> Seq.filter (fun m -> x.Members |> List.contains m.MemberId)
|> Seq.map (chatMemberInDb_To_ChatMember membersToGetDetailsFrom)
|> List.ofSeq
|> Seq.toList
}

let chatRoomInDb_To_ChatRoomForMember
Expand All @@ -58,7 +58,7 @@ module MapFrom =
m.MemberId <> chatMember.MemberId
&& x.Members |> List.contains m.MemberId)
|> Seq.map (chatMemberInDb_To_ChatMember membersToGetDetailsFrom)
|> List.ofSeq
|> Seq.toList
}

let organizationInDb_To_Organization (x : Organization_In_Db) : Organization =
Expand All @@ -73,7 +73,7 @@ module MapFrom =
FakePersistence.ChatRooms.Values
|> Seq.filter (fun c -> x.ChatRooms |> List.contains c.Id)
|> Seq.map (chatRoomInDb_To_ChatRoom members)
|> List.ofSeq
|> Seq.toList
}

let organizationInDb_To_OrganizationForMember (memberId : MemberId) (x : Organization_In_Db) : OrganizationForMember option =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<ItemGroup>
<PackageReference Update="FSharp.Core" VersionOverride="$(FSharpCoreVersion)">
<PrivateAssets>all</PrivateAssets>
<!-- This excludes FSharp.Core.xml and FSharp.Core.resources.dll while referencing the right FSharp.Core.dll version -->
<ExcludeAssets>contentFiles;runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="FSharp.TypeProviders.SDK" VersionOverride="8.0.2" />
Expand Down
4 changes: 2 additions & 2 deletions tests/FSharp.Data.GraphQL.Tests/SchemaTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ open FSharp.Data.GraphQL.Types
open FSharp.Data.GraphQL.Execution

[<Fact>]
let ``Object type should be able to merge fields with matching signatures from different interfaces`` () =
let ``Object type must be able to merge fields with matching signatures from different interfaces`` () =
let MovableType = Define.Interface ("Movable", [ Define.Field ("speed", IntType) ])
let Movable2Type =
Define.Interface ("Movable2", [ Define.Field ("speed", IntType); Define.Field ("acceleration", IntType) ])
Expand Down Expand Up @@ -38,7 +38,7 @@ let ``Object type should be able to merge fields with matching signatures from d
|> List.map snd)

[<Fact>]
let ``Schema config should be able to override default error handling`` () =
let ``Schema config must be able to override default error handling`` () =
let mutable idx = 0
let conf = {
SchemaConfig.Default with
Expand Down

0 comments on commit b904b04

Please sign in to comment.