fix missing validation on integer preferences

which failed a test
also adapt the domain test to the new login path
agranig/peering-route
Gerhard Jungwirth 13 years ago
parent 0909c813f3
commit 778c3caba3

@ -359,7 +359,7 @@ sub create_preference_form {
}
}
$form->process if $posted;
$form->process if ($posted && $form->validated);
$c->stash(form => $form,
aip_grp_rs => $aip_grp_rs,
man_aip_grp_rs => $man_aip_grp_rs);

@ -12,10 +12,8 @@ $d->get_ok("$uri/logout"); #make sure we are logged out
$d->get_ok("$uri/login");
$d->set_implicit_wait_timeout(1000);
$d->findtext_ok('Subscriber Sign In');
diag("Go to Admin Login");
$d->findclick_ok(link_text => 'Admin');
diag("Do Admin Login");
$d->findtext_ok('Admin Sign In');
$d->find(name => 'username')->send_keys('administrator');
$d->find(name => 'password')->send_keys('administrator');
$d->findclick_ok(name => 'submit');

Loading…
Cancel
Save