Skip to content

Commit

Permalink
fix(graphql_flutter): fix wrong default policy merging in useWatchQue…
Browse files Browse the repository at this point in the history
…ry/Mutation
  • Loading branch information
dehypnosis authored and vincenzopalazzo committed Jul 22, 2022
1 parent 3fa1aea commit e4b864b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql_flutter/test/widgets/query_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void main() {
'does not issues new network request when policies are effectively unchanged',
(WidgetTester tester) async {
final page = Page(
fetchPolicy: client!.value.defaultPolicies.query.fetch,
fetchPolicy: client!.value.defaultPolicies.watchQuery.fetch,
errorPolicy: null,
);

Expand Down

0 comments on commit e4b864b

Please sign in to comment.