John O'Reilly
11/18/2023, 4:08 PMJohn O'Reilly
11/18/2023, 4:14 PMmockServer.enqueue(MockResponse.Builder().body(getAllPeopleMockResponse).build())
but running in to this nowmbonnin
11/18/2023, 4:16 PMmbonnin
11/18/2023, 4:16 PMJohn O'Reilly
11/18/2023, 4:17 PMmbonnin
11/18/2023, 4:17 PMmbonnin
11/18/2023, 4:17 PMJohn O'Reilly
11/18/2023, 4:34 PMMockResponse
?John O'Reilly
11/18/2023, 4:35 PMval getAllPeopleMockResponse = GetAllPeopleQuery.Data {
allPeople = buildPeopleConnection {
people = listOf(
buildPerson {
id = "1"
name = "Person 1"
homeworld = buildPlanet {
name = "Home World 1"
}
},
buildPerson {
id = "2"
name = "Person 2"
homeworld = buildPlanet {
name = "Home World 2"
}
}
)
}
}
John O'Reilly
11/18/2023, 4:46 PMtoJson()
and building/running now but test failing for some other reason....will dig a bit deeperJohn O'Reilly
11/18/2023, 4:48 PMtoResponseJson()
and passing now