From: Errietta Kostala Date: Fri, 23 Jan 2015 11:18:07 +0000 (+0000) Subject: Add an openid user to db X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d784709e8fafab645517ae64ce5845d3ca62cfa;p=scpubgit%2Fstemmaweb.git Add an openid user to db --- diff --git a/t/lib/stemmaweb/Test/DB.pm b/t/lib/stemmaweb/Test/DB.pm index 2094ee4..1104d84 100644 --- a/t/lib/stemmaweb/Test/DB.pm +++ b/t/lib/stemmaweb/Test/DB.pm @@ -38,6 +38,7 @@ sub new_db { # Create users my $user = $dir->add_user({ username => 'user@example.org', password => 'UserPass' }); + my $openid_user = $dir->add_user({ username => 'http://localhost/' }); my $t2 = Text::Tradition->new( input => 'Tabular', sep_char => ',', @@ -45,6 +46,8 @@ sub new_db { $t2->add_stemma( dotfile => 't/data/florilegium.dot' ); $user->add_tradition($t2); + + return $dir; } 1;