Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken test on master - has been for a while #13

Closed
ghost opened this issue Aug 26, 2020 · 4 comments
Closed

Broken test on master - has been for a while #13

ghost opened this issue Aug 26, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 26, 2020

https://github.com/jonataslaw/get_storage/runs/956543996?check_suite_focus=true

00:43 +0 -1: loading /Users/runner/work/get_storage/get_storage/test/getstorage_test.dart [E]                                                                                                          
  Failed to load "/Users/runner/work/get_storage/get_storage/test/getstorage_test.dart": MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)
  package:get_storage/src/storage_impl.dart 48:7   GetStorage._init
  ===== asynchronous gap ===========================
  package:get_storage/src/storage_impl.dart 28:13  new GetStorage._internal.<fn>
  

00:43 +0 -1: Some tests failed.                                                                                                                                                                        
##[error]Process completed with exit code 1.
@jonataslaw
Copy link
Owner

You can do the tests locally, the flutter has a problem in path_provider that is not being recognized in tests. All storage libraries have been broken for at least 2 months.

@ghost
Copy link
Author

ghost commented Aug 26, 2020

That's what I'm doing...

MacBook:get_storage rhisiart$ flutter test test/getstorage_test.dart 
00:02 +0 -1: loading git/get_storage/test/getstorage_test.dart [E]                                                    
  Failed to load "git/get_storage/test/getstorage_test.dart": MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)
  package:get_storage/src/storage_impl.dart 48:7   GetStorage._init
  ===== asynchronous gap ===========================
  package:get_storage/src/storage_impl.dart 28:13  new GetStorage._internal.<fn>
MacBook:get_storage rhisiart$ flutter --version
Flutter 1.20.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision bbfbf1770c (13 days ago) • 2020-08-13 08:33:09 -0700
Engine • revision 9d5b21729f
Tools • Dart 2.9.1

@jonataslaw
Copy link
Owner

Try adding and then immediately removing the pubspec path_provider plugin, it is an alternative work.
And that doesn't depend on us, but on the Flutter team that maintains the path_provider

@ghost
Copy link
Author

ghost commented Aug 30, 2020

Fixed in #18

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant