File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
apollo-integration/src/test/java/com/apollographql/apollo Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ class FragmentOverwritesTest {
6262 val networkResponse = apolloClient.query(HomeQuery ()).await()
6363
6464 assertThat(networkResponse.data?.home?.sectionA?.name).isEqualTo(" initialSectionName" )
65+ assertThat(networkResponse.data?.home?.fragments?.sectionFragment?.sectionA?.imageUrl).isEqualTo(" initialUrl" )
6566
6667 apolloClient.apolloStore.writeAndPublish(
6768 HomeQuery (),
@@ -89,6 +90,7 @@ class FragmentOverwritesTest {
8990 .await()
9091
9192 assertThat(cacheResponse.data?.home?.sectionA?.name).isEqualTo(" modifiedSectionName" )
93+ assertThat(cacheResponse.data?.home?.fragments?.sectionFragment?.sectionA?.imageUrl).isEqualTo(" modifiedUrl" )
9294 }
9395 }
9496}
You can’t perform that action at this time.
0 commit comments