From ad399a95dded2a0378eb410569dcac65c3c9c44a Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 09 Dec 2010 04:26:54 -0500 Subject: [PATCH] - Add username and IP address to log message on unsuccessful login (#1487626) --- tests/modcss.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modcss.php b/tests/modcss.php index f9271ff..945cac3 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"); @@ -42,4 +42,4 @@ $this->assertEqual("/* evil! */", $mod, "Don't allow encoding quirks (2)"); } -} \ No newline at end of file +} -- Gitblit v1.9.1