From 170a056f3741621cd54fc9d5d34ca03897643eed Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Tue, 13 Jun 2017 21:11:54 +0100 Subject: [PATCH] Fix schema tests from year_of_birth change --- t/schema/leaderboard.t | 8 ++++---- t/schema/leaderboard_trend.t | 8 ++++---- t/schema/resultset_leaderboard.t | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/t/schema/leaderboard.t b/t/schema/leaderboard.t index b03106a..d457f80 100644 --- a/t/schema/leaderboard.t +++ b/t/schema/leaderboard.t @@ -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 = { diff --git a/t/schema/leaderboard_trend.t b/t/schema/leaderboard_trend.t index f8b370a..63fff33 100644 --- a/t/schema/leaderboard_trend.t +++ b/t/schema/leaderboard_trend.t @@ -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 = { diff --git a/t/schema/resultset_leaderboard.t b/t/schema/resultset_leaderboard.t index 76d622e..d257442 100644 --- a/t/schema/resultset_leaderboard.t +++ b/t/schema/resultset_leaderboard.t @@ -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 = {