aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/around.t25
-rw-r--r--t/app/controller/auth.t8
2 files changed, 3 insertions, 30 deletions
diff --git a/t/app/controller/around.t b/t/app/controller/around.t
index ba0dfe1b4..0060e957c 100644
--- a/t/app/controller/around.t
+++ b/t/app/controller/around.t
@@ -41,21 +41,6 @@ foreach my $test (
pc_alternatives => [],
},
{
- pc => 'glenthorpe',
- errors => [],
- pc_alternatives => [
- 'Glenthorpe Crescent, Leeds LS9 7',
- 'Glenthorpe Rd, Merton, Greater London SM4 4',
- 'Glenthorpe Ave, Leeds LS9 7',
- 'Glenthorne Rd, Hammersmith, Greater London W6 0',
- 'Glenthorne Ave, Yeovil, Somerset BA21 4',
- 'Glenthorne Rd, Kenwyn, Cornwall TR3 6',
- 'Glenthorne Dr, Cheslyn Hay, Staffordshire WS6 7',
- 'Glenthorne Gardens, Ilford, Greater London IG5 0',
- 'Glenthorne Ave, Croydon, Greater London CR0 7',
- ],
- },
- {
pc => 'Glenthorpe Ct, Katy, TX 77494, USA',
errors =>
['Sorry, we could not find that location.'],
@@ -81,16 +66,6 @@ foreach my $test (
latitude => '51.50101',
longitude => '-0.141587',
},
- {
- pc => 'Manchester',
- latitude => '53.480713',
- longitude => '-2.234376',
- },
- {
- pc => 'Glenthorpe Rd, Merton, Greater London SM4 4, UK',
- latitude => '51.3938',
- longitude => '-0.22096',
- },
)
{
subtest "check lat/lng for '$test->{pc}'" => sub {
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t
index 1a16457f9..fef45ac90 100644
--- a/t/app/controller/auth.t
+++ b/t/app/controller/auth.t
@@ -197,12 +197,10 @@ foreach my $remember_me ( '1', '0' ) {
);
is $mech->uri->path, '/my', "redirected to correct page";
- # check that the cookie has no expiry set
my $expiry = $mech->session_cookie_expiry;
- is( $expiry, 0, "no expiry time" );
- #$remember_me
- # ? cmp_ok( $expiry, '>', 86400, "long expiry time" )
- # : is( $expiry, 0, "no expiry time" );
+ $remember_me
+ ? cmp_ok( $expiry, '>', 86400, "long expiry time" )
+ : is( $expiry, 0, "no expiry time" );
# logout
$mech->log_out_ok;