diff --git a/autologin_windows/test/autologin_windows_test.dart b/autologin_windows/test/autologin_windows_test.dart index efcd320..81227f9 100644 --- a/autologin_windows/test/autologin_windows_test.dart +++ b/autologin_windows/test/autologin_windows_test.dart @@ -33,9 +33,9 @@ void main() { ); test('requestCredentials returns expected value', () async { + await autologin.saveCredentials(SharedTests.expectedCredentials); final result = await autologin.requestCredentials(); - // this ffi call is expected to fail in this test - expect(result, equals(null)); + expect(result, equals(SharedTests.expectedCredentials)); }); test('saveLoginToken returns true', () async {