From 7d2f39a2c3c6486eef65df54f14866382770273f Mon Sep 17 00:00:00 2001 From: Dante291 Date: Sun, 19 Nov 2023 18:25:43 +0530 Subject: [PATCH] fixing workflow --- test/helpers/test_helpers.dart | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/test/helpers/test_helpers.dart b/test/helpers/test_helpers.dart index 38827c385..53b197835 100644 --- a/test/helpers/test_helpers.dart +++ b/test/helpers/test_helpers.dart @@ -250,23 +250,23 @@ GraphQLClient getAndRegisterGraphQLClient() { // Either fill this with mock data or override this stub // and return null - when( - service.query( - QueryOptions( - document: gql(queries.getPluginsList()), - ), - ), - ).thenAnswer( - (realInvocation) async { - return QueryResult.internal( - source: QueryResultSource.network, - parserFn: (data) => {}, - data: { - "getPlugins": [], - }, - ); - }, - ); + // when( + // service.query( + // QueryOptions( + // document: gql(queries.getPluginsList()), + // ), + // ), + // ).thenAnswer( + // (realInvocation) async { + // return QueryResult.internal( + // source: QueryResultSource.network, + // parserFn: (data) => {}, + // data: { + // "getPlugins": [], + // }, + // ); + // }, + // ); when(service.defaultPolicies).thenAnswer( (realInvocation) => DefaultPolicies(),