diff --git a/tests/sync/app_tests.cpp b/tests/sync/app_tests.cpp index 079d5b1a7..39fba666a 100644 --- a/tests/sync/app_tests.cpp +++ b/tests/sync/app_tests.cpp @@ -180,6 +180,7 @@ TEST_CASE("app", "[app]") { SECTION("function_and_custom_user_data") { app.register_user("function_and_custom_user_data@mongodb.com", "foobar").get(); + auto user = app.login( realm::App::credentials::username_password("function_and_custom_user_data@mongodb.com", "foobar")) .get();