From 12bcb7e59b1d6b3dd4dacc986d3a53b2dfd161a3 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 17 Apr 2019 08:09:43 +0200 Subject: [PATCH] Check if display_name really changed. --- tests/test_api_v1_accounts_update_credentials.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_api_v1_accounts_update_credentials.cpp b/tests/test_api_v1_accounts_update_credentials.cpp index f0f400f..4688510 100644 --- a/tests/test_api_v1_accounts_update_credentials.cpp +++ b/tests/test_api_v1_accounts_update_credentials.cpp @@ -62,7 +62,7 @@ SCENARIO ("/api/v1/accounts/update_credentials can be called successfully", REQUIRE(account.valid()); - REQUIRE(account.id() == user_id); + REQUIRE(account.display_name() == "testaccount"); } } }