Rename and fix upload test
This commit is contained in:
parent
d73ddb6ba2
commit
cee5a00d18
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ my $testJson = {
|
||||||
'email' => $emailRufus,
|
'email' => $emailRufus,
|
||||||
'postcode' => 'GU10 5SA',
|
'postcode' => 'GU10 5SA',
|
||||||
'password' => $passwordRufus,
|
'password' => $passwordRufus,
|
||||||
'age_range' => 1
|
'year_of_birth' => 2006
|
||||||
};
|
};
|
||||||
$t->post_ok('/api/register' => json => $testJson)
|
$t->post_ok('/api/register' => json => $testJson)
|
||||||
->status_is(200)
|
->status_is(200)
|
||||||
|
@ -60,7 +60,7 @@ $testJson = {
|
||||||
'email' => $emailHojo,
|
'email' => $emailHojo,
|
||||||
'postcode' => 'DE15 9LT',
|
'postcode' => 'DE15 9LT',
|
||||||
'password' => $passwordHojo,
|
'password' => $passwordHojo,
|
||||||
'age_range' => 1
|
'year_of_birth' => 2006
|
||||||
};
|
};
|
||||||
$t->post_ok('/api/register' => json => $testJson)
|
$t->post_ok('/api/register' => json => $testJson)
|
||||||
->status_is(200)
|
->status_is(200)
|
Reference in a new issue