summaryrefslogtreecommitdiff
path: root/tests/modcss.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modcss.php')
-rw-r--r--tests/modcss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modcss.php b/tests/modcss.php
index f9271ff65..3ff5c4895 100644
--- a/tests/modcss.php
+++ b/tests/modcss.php
@@ -18,7 +18,7 @@ class rcube_test_modcss extends UnitTestCase
$css = file_get_contents(TESTS_DIR . 'src/valid.css');
$mod = rcmail_mod_css_styles($css, 'rcmbody');
- $this->assertPattern('/#rcmbody div.rcmBody\s+\{/', $mod, "Replace body style definition");
+ $this->assertPattern('/#rcmbody\s+\{/', $mod, "Replace body style definition");
$this->assertPattern('/#rcmbody h1\s\{/', $mod, "Prefix tag styles (single)");
$this->assertPattern('/#rcmbody h1, #rcmbody h2, #rcmbody h3, #rcmbody textarea\s+\{/', $mod, "Prefix tag styles (multiple)");
$this->assertPattern('/#rcmbody \.noscript\s+\{/', $mod, "Prefix class styles");