DB-dependent tests moved
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 8 Jan 2008 18:57:31 +0000 (12:57 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 8 Jan 2008 20:07:38 +0000 (14:07 -0600)
Moved test cases that depend on the DBMS and having
an initialized Koha database to a subdirectory
of t so that they will not be swept up into
the default 'make test'.  Goal is to have
these DB-dependent tests runnable either via
a special make target or perhaps from the
web installer.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>

t/db_dependent/Acquisition.t [moved from t/Acquisition.t with 100% similarity]
t/db_dependent/Auth.t [moved from t/Auth.t with 93% similarity]
t/db_dependent/Auth_with_ldap.t [moved from t/Auth_with_ldap.t with 100% similarity]
t/db_dependent/Context.t [moved from t/Context.t with 100% similarity]
t/db_dependent/LDAP/example3.ldif [moved from t/LDAP/example3.ldif with 100% similarity]
t/db_dependent/LDAP/test_ldap_add.pl [moved from t/LDAP/test_ldap_add.pl with 100% similarity]
t/db_dependent/VirtualShelves.t [moved from t/VirtualShelves.t with 100% similarity]

similarity index 100%
rename from t/Acquisition.t
rename to t/db_dependent/Acquisition.t
similarity index 93%
rename from t/Auth.t
rename to t/db_dependent/Auth.t
index 1cacb31..dcfea53 100755 (executable)
--- a/t/Auth.t
@@ -9,6 +9,9 @@ use warnings;
 use Test::More tests => 6;
 
 BEGIN {
+       use FindBin;
+       use lib $FindBin::Bin;
+       use override_context_prefs;
         use_ok('C4::Auth', qw(checkpw));
         use_ok('C4::Context');
 }
similarity index 100%
rename from t/Context.t
rename to t/db_dependent/Context.t