Author: kake Date: 2012-04-14 14:50:48 +0100 (Sat, 14 Apr 2012) New Revision: 1337
Modified: trunk/t/59_preferences.t Log: Fixed warning I introduced in [1336].
Modified: trunk/t/59_preferences.t =================================================================== --- trunk/t/59_preferences.t 2012-04-14 10:56:32 UTC (rev 1336) +++ trunk/t/59_preferences.t 2012-04-14 13:50:48 UTC (rev 1337) @@ -56,10 +56,10 @@ $config->show_gmap_in_node_display( 1 ); $config->use_leaflet( 1 );
-my $cookie = OpenGuides::CGI->make_prefs_cookie( - config => $config, - display_google_maps => 1, - ); +$cookie = OpenGuides::CGI->make_prefs_cookie( + config => $config, + display_google_maps => 1, + ); $ENV{HTTP_COOKIE} = $cookie; Test::HTML::Content::tag_ok( get_output($wiki, $config), "input", { type => "checkbox", name => "display_google_maps" },
openguides-commits@lists.openguides.org