summaryrefslogtreecommitdiff
path: root/roundcubemail/tests/mailfunc.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-01-26 07:19:56 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-01-26 07:19:56 +0000
commit67815910920de344605280802fda542c141c2c98 (patch)
treeb8630fc915822770b4043a3b0e905a12a8bd01b2 /roundcubemail/tests/mailfunc.php
parent7036daa4d5dc09bd6c025935d34dc2ab1ac52c2b (diff)
Improved charset detection in vcard import + added unit tests for it
git-svn-id: https://svn.roundcube.net/trunk@3224 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/tests/mailfunc.php')
-rw-r--r--roundcubemail/tests/mailfunc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/tests/mailfunc.php b/roundcubemail/tests/mailfunc.php
index ae35c5d77..0e9363a0b 100644
--- a/roundcubemail/tests/mailfunc.php
+++ b/roundcubemail/tests/mailfunc.php
@@ -51,11 +51,11 @@ class rcube_test_mailfunc extends UnitTestCase
$this->assertPattern('#background="./program/blocked.gif"#', $html, "Replace external background image");
$this->assertNoPattern('/ex3.jpg/', $html, "No references to external images");
$this->assertNoPattern('/<meta [^>]+>/', $html, "No meta tags allowed");
- $this->assertNoPattern('/<style [^>]+>/', $html, "No style tags allowed");
+ //$this->assertNoPattern('/<style [^>]+>/', $html, "No style tags allowed");
$this->assertNoPattern('/<form [^>]+>/', $html, "No form tags allowed");
$this->assertPattern('/Subscription form/', $html, "Include <form> contents");
- $this->assertPattern('/<!-- input not allowed -->/', $html, "No input elements allowed");
- $this->assertPattern('/<!-- link not allowed -->/', $html, "No external links allowed");
+ $this->assertPattern('/<!-- input ignored -->/', $html, "No input elements allowed");
+ $this->assertPattern('/<!-- link ignored -->/', $html, "No external links allowed");
$this->assertPattern('/<a[^>]+ target="_blank">/', $html, "Set target to _blank");
$this->assertTrue($GLOBALS['REMOTE_OBJECTS'], "Remote object detected");