From 7bfffb7f76a24a37079f89df45c0b4b148c2a126 Mon Sep 17 00:00:00 2001 From: rekire Date: Tue, 9 Apr 2024 21:37:16 +0200 Subject: [PATCH] Use the actual API in the CI --- autologin_windows/test/autologin_windows_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {