[prev] [thread] [next] [lurker] [Date index for 2003/11/27]
Author: gabor
Date: 2003-11-27 23:08:12 +0200 (Thu, 27 Nov 2003)
New Revision: 83
Modified:
lib/YAPC/Organizer.pm
t/03-web-adduser.t
Log:
start catching errors with Error.pm
Modified: lib/YAPC/Organizer.pm
===================================================================
--- lib/YAPC/Organizer.pm 2003-11-27 21:00:19 UTC (rev 82)
+++ lib/YAPC/Organizer.pm 2003-11-27 21:08:12 UTC (rev 83)
@@ -421,8 +421,8 @@
}
catch YAPC::Error with {
my $er = shift;
- #$t->param(MESSAGE => "$er");
- $t->param(MESSAGE => 'Login failed.');
+ $t->param(MESSAGE => "$er");
+ #$t->param(MESSAGE => 'Login failed.');
return $t->output;
}
catch Error with {
Modified: t/03-web-adduser.t
===================================================================
--- t/03-web-adduser.t 2003-11-27 21:00:19 UTC (rev 82)
+++ t/03-web-adduser.t 2003-11-27 21:08:12 UTC (rev 83)
@@ -165,7 +165,7 @@
my $webapp = YAPC::Organizer->new;
$webapp->query($q);
my $result = $webapp->run();
- like($result, qr/Login failed./, 'login fails if not validated');
+ like($result, qr/Not acknowladged/, 'login fails if not validated');
}
##### show information about one person before validation should fail
Generated at 23:15 on 27 Nov 2003 by mariachi 0.51