fIx final few tests for age_range to year_of_birth change

This commit is contained in:
Tom Bloor 2017-06-13 21:28:42 +01:00
parent c702956777
commit 2bf595d135
4 changed files with 7 additions and 7 deletions

View file

@ -24,7 +24,7 @@ my $test_json = {
'email' => $email,
'postcode' => 'LA1 1AA',
'password' => $password,
'age_range' => 1
year_of_birth => 2006
};
$t->post_ok('/api/register' => json => $test_json)
->status_is(200)

View file

@ -17,7 +17,7 @@ my $user = {
email => 'test@example.com',
postcode => 'LA1 1AA',
password => 'abc123',
age_range => 1,
year_of_birth => 2006,
};
my $org = {

View file

@ -17,7 +17,7 @@ my $user1 = {
email => 'test1@example.com',
postcode => 'LA1 1AA',
password => 'abc123',
age_range => 1,
year_of_birth => 2006,
};
my $user2 = {
@ -27,7 +27,7 @@ my $user2 = {
email => 'test2@example.com',
postcode => 'LA1 1AA',
password => 'abc123',
age_range => 1,
year_of_birth => 2006,
};
my $user3 = {
@ -37,7 +37,7 @@ my $user3 = {
email => 'test3@example.com',
postcode => 'LA1 1AA',
password => 'abc123',
age_range => 1,
year_of_birth => 2006,
};
my $user4 = {
@ -47,7 +47,7 @@ my $user4 = {
email => 'test4@example.com',
postcode => 'LA1 1AA',
password => 'abc123',
age_range => 1,
year_of_birth => 2006,
};
my $org = {

View file

@ -24,7 +24,7 @@ $framework->register_customer({
'email' => $email,
'postcode' => 'LA1 1AA',
'password' => $password,
'age_range' => 1
year_of_birth => 2006
});
my $session_key = $framework->login({