• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The registration test which checks for an invalid verification code fails if $TWiki::needVerification is off.

It ought to explicitly set this value before running this test, like the other tests do.

Index: test/unit/RegisterTests.pm
===================================================================
--- test/unit/RegisterTests.pm  (Revision 7547)
+++ test/unit/RegisterTests.pm  (Arbeitskopie)
@@ -284,6 +284,7 @@
 #Register a user, then give a bad verification code. It should barf.
 sub test_registerBadVerify {
     my $this = shift;
+    $TWiki::cfg{Register}{NeedVerification}  =  1;
     my $query = new CGI ({
                           'TopicName' => [
                                           'TWikiRegistration'

SVN 7550 CC

ItemTemplate
Summary Unit test - RegisterTests fail if $TWiki::needVerification is off
ReportedBy TWiki:Main.HaraldJoerg
Codebase

AppliesTo Engine
Component

Priority Low
CurrentState Closed
WaitingFor

Checkins 7550
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-11-20 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback