From 6d94ab311ac4ac28c47a7a1d367aa680a7ec23e0 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 26 Sep 2010 11:06:55 -0400
Subject: [PATCH] Only lower-case user name if first login attempt failed (#1486393) + fix test
---
tests/modcss.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/modcss.php b/tests/modcss.php
index f9271ff..3ff5c48 100644
--- a/tests/modcss.php
+++ b/tests/modcss.php
@@ -18,7 +18,7 @@
$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");
--
Gitblit v1.9.1