Skip to content

Commit d533f70

Browse files
korca0220vincenzopalazzo
authored andcommitted
fix(graphql): use existing HiveStore instance instead of creating new one in test
1 parent f9f1b25 commit d533f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graphql/test/cache/store_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void main() {
6767
final store = await HiveStore.open(path: path);
6868
store.putAll(data);
6969

70-
expect(HiveStore().toMap(), equals(data));
70+
expect(store.toMap(), equals(data));
7171

7272
await store.box.deleteFromDisk();
7373
});

0 commit comments

Comments
 (0)