mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-04-20 09:25 am

[dw-free] fix t/user-infoshow-migrate.t

[commit: http://hg.dwscoalition.org/dw-free/rev/b08e1279c61b]

http://bugs.dwscoalition.org/show_bug.cgi?id=2494

Simple test fix -- the default changed.

Patch by [personal profile] kareila.

Files modified:
  • t/user-infoshow-migrate.t
--------------------------------------------------------------------------------
diff -r d038eb85ba69 -r b08e1279c61b t/user-infoshow-migrate.t
--- a/t/user-infoshow-migrate.t	Tue Apr 20 09:24:46 2010 +0000
+++ b/t/user-infoshow-migrate.t	Tue Apr 20 09:25:50 2010 +0000
@@ -6,8 +6,7 @@ require 'ljlib.pl';
 require 'ljlib.pl';
 
 
-#plan tests => 228;
-plan skip_all => 'Fix this test!';
+plan tests => 228;
 
 use LJ::Test qw(temp_user memcache_stress);
 
@@ -53,7 +52,7 @@ sub run_tests {
                 ok(defined $temp_var, "prop value after migration: defined");
                 is($u->{'allow_infoshow'}, ' ', 'lazy migrate: allow_infoshow set to SPACE');
                 is($u->{'opt_showbday'}, undef, 'lazy_migrate: opt_showbday unset');
-                is($u->opt_showbday, 'F', "lazy_migrate: opt_showbday returned as F");
+                is($u->opt_showbday, 'D', "lazy_migrate: opt_showbday returned as D");
                 is($u->{'opt_showlocation'}, undef, 'lazy_migrate: opt_showlocation unset');
                 is($u->opt_showlocation, 'Y', "lazy_migrate: opt_showlocation set as Y");
             }
--------------------------------------------------------------------------------