Don't delete old users
Errietta Kostala [Wed, 4 Feb 2015 14:34:15 +0000 (14:34 +0000)]
lib/Text/Tradition/Directory.pm
t/07google.t

index 1727903..c669bd8 100644 (file)
@@ -581,7 +581,7 @@ sub _find_gplus {
         $new_user->add_tradition($t);
     }
 
-    $self->delete_user({ username => $user->id });
+    # $self->delete_user({ username => $user->id });
     return $new_user;
 }
 
index 09a2c65..37f0a66 100644 (file)
@@ -88,7 +88,7 @@ io("$FindBin::Bin/var")->rmtree if io("$FindBin::Bin/var")->exists;
 {
     my $scope = $dir->new_scope;
 
-    ok !$dir->find_user({ url => 'https://www.google.com/accounts/o8/id' }), 'Old google-openid is gone.';
+    # ok !$dir->find_user({ url => 'https://www.google.com/accounts/o8/id' }), 'Old google-openid is gone.';
 
     ok $dir->find_user({ sub => 42, openid_id => 'https://www.google.com/accounts/o8/id' }), 'The G+ user is there.';