Commit 4d704a6f authored by Ricki Hirner's avatar Ricki Hirner

Fix test

parent 28d43522
Pipeline #57567988 passed with stages
in 4 minutes and 4 seconds
......@@ -175,8 +175,8 @@ class ContactTest {
c.uid = UUID.randomUUID().toString()
c.phoneNumbers += LabeledProperty(Telephone("12345"), "My Phone")
val vCard = toString(c, GroupMethod.GROUP_VCARDS, VCardVersion.V3_0)
assertTrue(vCard.contains("\ndavdroid1.TEL:12345\r\n"))
assertTrue(vCard.contains("\ndavdroid1.X-ABLabel:My Phone\r\n"))
assertTrue(vCard.contains("\ngroup1.TEL:12345\r\n"))
assertTrue(vCard.contains("\ngroup1.X-ABLabel:My Phone\r\n"))
c = regenerate(c, VCardVersion.V4_0)
assertEquals("12345", c.phoneNumbers.first.property.text)
......
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