From 1087409364a068ccfb47f4061b3b03347eea04b4 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 9 Oct 2009 12:27:13 +0100 Subject: [PATCH] test to confirm bug #774 --- ext/setup/test.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/setup/test.php b/ext/setup/test.php index bbdc8b25..3b1a5e5d 100644 --- a/ext/setup/test.php +++ b/ext/setup/test.php @@ -5,6 +5,12 @@ class SetupTest extends SCoreWebTestCase { $this->assert_response(403); $this->assert_title("Permission Denied"); + # XXX: this only checks that the text is "ok", to check + # for a bug where it was coming out as "\nok"; it doesn't + # check that niceurls actually work + $raw = $this->get_page('nicetest'); + $this->assertTrue($raw == "ok"); + $this->log_in_as_user(); $this->get_page('setup'); $this->assert_response(403);