summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-07 17:53:37 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-07 17:53:37 +0100
commitacf851f823fba5354c2227e48c3097a524312268 (patch)
tree8e99d1890f04978bf8e62903d95f8f551f982394 /tests
parentb5767d94b1c3fd29adffb225526162d69b37d05d (diff)
Fix address fields import from CSV (#1488900)
Diffstat (limited to 'tests')
-rw-r--r--tests/Framework/Csv2vcard.php1
-rw-r--r--tests/src/Csv2vcard/tb_plain.vcf2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/Framework/Csv2vcard.php b/tests/Framework/Csv2vcard.php
index 6fa3e163c..f460c42af 100644
--- a/tests/Framework/Csv2vcard.php
+++ b/tests/Framework/Csv2vcard.php
@@ -31,6 +31,7 @@ class Framework_Csv2vcard extends PHPUnit_Framework_TestCase
$vcf_text = trim(str_replace("\r\n", "\n", $vcf_text));
$vcard = trim(str_replace("\r\n", "\n", $vcard));
+echo $vcard;
$this->assertEquals($vcf_text, $vcard);
}
diff --git a/tests/src/Csv2vcard/tb_plain.vcf b/tests/src/Csv2vcard/tb_plain.vcf
index aace259d8..b001c3924 100644
--- a/tests/src/Csv2vcard/tb_plain.vcf
+++ b/tests/src/Csv2vcard/tb_plain.vcf
@@ -15,4 +15,6 @@ ORG:Organization
URL;TYPE=homepage:http://page.com
URL;TYPE=other:http://webpage.tld
BDAY;VALUE=date:1970-11-15
+ADR;TYPE=home:;;Priv address;City;region;xx-xxx;USA
+ADR;TYPE=work:;;Addr work;;;33-333;Poland
END:VCARD