diff options
author | Struan Donald <struan@exo.org.uk> | 2012-03-14 21:52:16 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-03-14 21:52:16 +0000 |
commit | 91859b4f7df490001df3a54067fc01929cb0490f (patch) | |
tree | b6b36117e2e30d80f926e40aea7f3723b61ae4df /t/app/controller/report_import.t | |
parent | f66b805206f7e28d96161fa9abc077c0a9d60b2c (diff) | |
parent | 491d21469a34b028c00eed7a0f26ff7f3725dcb0 (diff) |
Merge remote-tracking branch 'origin/master' into phonegap
Diffstat (limited to 't/app/controller/report_import.t')
-rw-r--r-- | t/app/controller/report_import.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t index d6bff240c..934bf0346 100644 --- a/t/app/controller/report_import.t +++ b/t/app/controller/report_import.t @@ -128,7 +128,7 @@ subtest "Submit a correct entry" => sub { "check imported fields are shown"; # Check photo present, and still there after map submission (testing bug #18) - $mech->content_contains( '<img align="right" src="/photo?id' ); + $mech->content_contains( '<img align="right" src="/photo/' ); $mech->content_contains('latitude" value="51.50101"', 'Check latitude'); $mech->content_contains('longitude" value="-0.141587"', 'Check longitude'); $mech->submit_form_ok( @@ -139,7 +139,7 @@ subtest "Submit a correct entry" => sub { }, "New map location" ); - $mech->content_contains( '<img align="right" src="/photo?id' ); + $mech->content_contains( '<img align="right" src="/photo/' ); $mech->content_contains('latitude" value="51.50519"', 'Check latitude'); $mech->content_contains('longitude" value="-0.142608"', 'Check longitude'); |