Skip to content

Commit

Permalink
Renaming dummy_data as data.
Browse files Browse the repository at this point in the history
  • Loading branch information
dverdin committed Jun 8, 2018
1 parent 2114726 commit d7e5b8d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion t/01_Conf.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ BEGIN {
use_ok('Conf');
}

ok(Conf::load('t/dummy_data/sympa.conf'), 'Configuration file loading');
ok(Conf::load('t/data/sympa.conf'), 'Configuration file loading');

is(Conf::get_robot_conf('*', 'gecos'),'SYMPA','Check correct loading of Sympa gecos parameter');

Expand Down
4 changes: 2 additions & 2 deletions t/02_Sympa_DatabaseManager.t
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ BEGIN {
listmaster => '[email protected]', # mandatory
lang => 'en-US',
db_type => 'SQLite',
db_name => 't/dummy_data/sympa',
db_name => 't/data/sympa',
);

ok(my $sdm = Sympa::DatabaseManager->instance, 'Connection to dummy database.');

is($sdm->get_id(),'db_name=t/dummy_data/sympa', 'Check database id value');
is($sdm->get_id(),'db_name=t/data/sympa', 'Check database id value');

ok(Sympa::DatabaseManager->disconnect, 'Disconnection from database');

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion t/dummy_data/sympa.conf → t/data/sympa.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ db_host localhost
## Nom de la base de données
## Avec SQLite, ce doit être le chemin complet vers le fichier de la base de
## donnée. Avec une base Oracle, ce doit être le SID Oracle.
db_name t/dummy_data/sympa
db_name t/data/sympa

## utilisateur pour la connexion à la base de données
# was db_user user_name
Expand Down

0 comments on commit d7e5b8d

Please sign in to comment.