You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests are inherently meaningless because they only test the mock defined in the setUp call.
Minimal Reproduction
To reproduce: run the tests.
Exception or Error
Expected: throws <Instance of 'ArgumentError'>
Actual: <Instance of 'Future<String>'>
Which: threw PlatformException:<PlatformException(error, Expected: 'foobar'
Actual: 'foobar://test'
Which: is different. Both strings start the same, but the actual value also has the following trailing characters: ://test
, null, null)>
Expected Behaviour
The tests should pass and they should verify the behavior of the actual implementation, not a mock.
Screenshots
No response
Additional context
No response
Device
NA
OS
NA
Browser
NA
Flutter version
NA
flutter_web_auth_2 version
NA
Checklist
I have read and followed the entiretroubleshooting guide and it has not provided the solution I need.
I have provided all the information I can.
The text was updated successfully, but these errors were encountered:
Thanks for the bug report! Yes, indeed, I am not really using the tests and hence barely edit/update them. They are also not really important when it comes to this package. Far more important is the example (which acts as a sort of manual integration test).
Maybe, I will fix the tests at some point, but they really have a low priority for me at least :)
Description
The Dart API tests for this plugin (located here: https://github.com/ThexXTURBOXx/flutter_web_auth_2/blob/master/flutter_web_auth_2/test/flutter_web_auth_2_test.dart) have a couple problems:
setUp
call.Minimal Reproduction
To reproduce: run the tests.
Exception or Error
Expected Behaviour
The tests should pass and they should verify the behavior of the actual implementation, not a mock.
Screenshots
No response
Additional context
No response
Device
NA
OS
NA
Browser
NA
Flutter version
NA
flutter_web_auth_2 version
NA
Checklist
The text was updated successfully, but these errors were encountered: