From 0f2a75d652a1f4f4b568962c3ba94be66bf21ccd Mon Sep 17 00:00:00 2001 From: "S. Kozyr" Date: Mon, 4 Mar 2024 18:37:35 +0200 Subject: [PATCH] Fixed test with new reset password behaviour of the server Signed-off-by: S. Kozyr --- editor/osm_auth_tests/osm_auth_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/osm_auth_tests/osm_auth_tests.cpp b/editor/osm_auth_tests/osm_auth_tests.cpp index a8dc064432..2bfafd275e 100644 --- a/editor/osm_auth_tests/osm_auth_tests.cpp +++ b/editor/osm_auth_tests/osm_auth_tests.cpp @@ -67,7 +67,7 @@ UNIT_TEST(OSM_Auth_ForgotPassword) TEST_NO_THROW(result = auth.ResetPassword(kForgotPasswordEmail), ()); TEST_EQUAL(result, true, ("Correct email")); TEST_NO_THROW(result = auth.ResetPassword("not@registered.email"), ()); - TEST_EQUAL(result, false, ("Incorrect email")); + TEST_EQUAL(result, true, ("Server responses OK even if email is incorrect")); #if defined(OMIM_OS_MAC)