@@ -78,17 +78,17 @@ |
||
| 78 | 78 | public function testAddAddress() |
| 79 | 79 | { |
| 80 | 80 | $this->assertEquals($this->vcard, $this->vcard->addAddress( |
| 81 | - '', |
|
| 82 | - '88th Floor', |
|
| 83 | - '555 East Flours Street', |
|
| 84 | - 'Los Angeles', |
|
| 85 | - 'CA', |
|
| 86 | - '55555', |
|
| 87 | - 'USA' |
|
| 81 | + '', |
|
| 82 | + '88th Floor', |
|
| 83 | + '555 East Flours Street', |
|
| 84 | + 'Los Angeles', |
|
| 85 | + 'CA', |
|
| 86 | + '55555', |
|
| 87 | + 'USA' |
|
| 88 | 88 | )); |
| 89 | - $this->assertContains('ADR;WORK;POSTAL;CHARSET=utf-8:;88th Floor;555 East Flours Street;Los Angele', $this->vcard->getOutput()); |
|
| 90 | - // Should fold on row 75, so we should not see the full address. |
|
| 91 | - $this->assertNotContains('ADR;WORK;POSTAL;CHARSET=utf-8:;88th Floor;555 East Flours Street;Los Angeles;CA;55555;', $this->vcard->getOutput()); |
|
| 89 | + $this->assertContains('ADR;WORK;POSTAL;CHARSET=utf-8:;88th Floor;555 East Flours Street;Los Angele', $this->vcard->getOutput()); |
|
| 90 | + // Should fold on row 75, so we should not see the full address. |
|
| 91 | + $this->assertNotContains('ADR;WORK;POSTAL;CHARSET=utf-8:;88th Floor;555 East Flours Street;Los Angeles;CA;55555;', $this->vcard->getOutput()); |
|
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | public function testAddBirthday() |