From cee5a00d182d3040812877427cfe66231c2b26b0 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Tue, 13 Jun 2017 21:05:27 +0100 Subject: [PATCH] Rename and fix upload test --- t/{ => api}/upload.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename t/{ => api}/upload.t (99%) diff --git a/t/upload.t b/t/api/upload.t similarity index 99% rename from t/upload.t rename to t/api/upload.t index 1cf8215..b3a0a19 100644 --- a/t/upload.t +++ b/t/api/upload.t @@ -43,7 +43,7 @@ my $testJson = { 'email' => $emailRufus, 'postcode' => 'GU10 5SA', 'password' => $passwordRufus, - 'age_range' => 1 + 'year_of_birth' => 2006 }; $t->post_ok('/api/register' => json => $testJson) ->status_is(200) @@ -60,7 +60,7 @@ $testJson = { 'email' => $emailHojo, 'postcode' => 'DE15 9LT', 'password' => $passwordHojo, - 'age_range' => 1 + 'year_of_birth' => 2006 }; $t->post_ok('/api/register' => json => $testJson) ->status_is(200)