Tidy up UserStore/Directory merge
[scpubgit/stemmatology.git] / t / text_tradition_user.t
index 2645929..7dfa930 100644 (file)
@@ -16,6 +16,8 @@ my $dsn = "dbi:SQLite:dbname=$file";
 my $user_store = Text::Tradition::Directory->new('dsn' => $dsn,
                                                  'extra_args' => { 'create' => 1 } );
 
+my $scope = $user_store->new_scope;
+
 ## passwords
 my $shortpass = 'bloggs';
 ok(!$user_store->validate_password($shortpass), '"bloggs" is too short for a password');