diff options
Diffstat (limited to 't/02-registration.t')
-rw-r--r-- | t/02-registration.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/02-registration.t b/t/02-registration.t index b595337..71783d4 100644 --- a/t/02-registration.t +++ b/t/02-registration.t @@ -128,11 +128,11 @@ $t->get_ok('/account'); $t->status_is(200)->content_unlike(qr{wird gelöscht}); $csrf_token - = $t->ua->get('/change_password')->res->dom->at('input[name=csrf_token]') + = $t->ua->get('/account/password')->res->dom->at('input[name=csrf_token]') ->attr('value'); $t->post_ok( - '/change_password' => form => { + '/account/password' => form => { csrf_token => $csrf_token, oldpw => 'foofoofoo', newpw => 'barbarbar', |