Commit 6d443480 authored by Milan Crha's avatar Milan Crha Committed by Niels De Graef

eds:add-persona: Test fails when eds is compiled with libphonenumber

When eds is built with libphonenumber support it also returns "X-EVOLUTION-E164"
parameter on TEL attributes, which breaks the eds:add-persona test, because it
expects exact parameters being returned from eds.

Closes !40
parent b9e27e28
Pipeline #206996 passed with stages
in 4 minutes and 21 seconds
......@@ -400,6 +400,9 @@ public class AddPersonaTests : EdsTest.TestCase
foreach (var phone_fd in i.phone_numbers)
{
/* Can be returned, when the evolution-data-server is compiled with the libphonenumber support */
phone_fd.remove_parameter_all ("x-evolution-e164");
var phone_1 = new PhoneFieldDetails (this._phone_1);
phone_1.set_parameter (AbstractFieldDetails.PARAM_TYPE,
this._phone_1_type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment