Skip to content

Commit

Permalink
fixup! Included and fixed FSharp.Data.GraphQL.Tests.Sql
Browse files Browse the repository at this point in the history
  • Loading branch information
xperiandri committed Nov 4, 2024
1 parent f217e4e commit f0d80bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/FSharp.Data.GraphQL.Tests/PropertyTrackerTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ let ``Property tracker can track indirect properties`` () =
let expected =
Compose (
track null typeof<obj list> typeof<Person list>,
[],
Set.empty,
Set.ofList [
Tracker.Direct (track "FirstName" typeof<Person> typeof<string>, [])
Tracker.Direct (track "LastName" typeof<Person> typeof<string>, [])
Tracker.Direct (track "FirstName" typeof<Person> typeof<string>, Set.empty)
Tracker.Direct (track "LastName" typeof<Person> typeof<string>, Set.empty)
]
)
let actual = tracker ImmutableDictionary.Empty info
Expand Down Expand Up @@ -161,17 +161,17 @@ let ``Property tracker can correctly jump over properties not being part of the
let expected =
Compose (
{ Name = None; ParentType = typeof<obj list>; ReturnType = typeof<Person list> },
[],
Set.empty,
set [
Direct (
{
Name = Some "Friends"
ParentType = typeof<Person>
ReturnType = typeof<Person list>
},
[]
Set.empty
)
Direct ({ Name = Some "Id"; ParentType = typeof<Person>; ReturnType = typeof<int> }, [])
Direct ({ Name = Some "Id"; ParentType = typeof<Person>; ReturnType = typeof<int> }, Set.empty)
]
)

Expand Down

0 comments on commit f0d80bd

Please sign in to comment.