Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
5b743c3b
Commit
5b743c3b
authored
Jun 09, 2018
by
David Verdin
Browse files
Renaming dummy database from sympa to sympa.sqlite.
parent
69f159e3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
5b743c3b
...
...
@@ -55,7 +55,7 @@ check_DATA = \
t/pki/key/rousse_password.pem
\
t/stub/Sympa/Constants.pm
\
t/data/sympa.conf
\
t/data/sympa
\
t/data/sympa
.sqlite
\
t/data/etc/auth.conf
\
xt/perlcriticrc
noinst_SCRIPTS
=
\
...
...
t/02_Sympa_DatabaseManager.t
View file @
5b743c3b
...
...
@@ -21,12 +21,12 @@ BEGIN {
listmaster
=>
'
dude@example.com
',
# mandatory
lang
=>
'
en-US
',
db_type
=>
'
SQLite
',
db_name
=>
'
t/data/sympa
',
db_name
=>
'
t/data/sympa
.sqlite
',
);
ok
(
my
$sdm
=
Sympa::
DatabaseManager
->
instance
,
'
Connection to dummy database.
');
is
(
$sdm
->
get_id
(),'
db_name=t/data/sympa
',
'
Check database id value
');
is
(
$sdm
->
get_id
(),'
db_name=t/data/sympa
.sqlite
',
'
Check database id value
');
ok
(
Sympa::
DatabaseManager
->
disconnect
,
'
Disconnection from database
');
...
...
t/data/sympa
deleted
100644 → 0
View file @
69f159e3
File deleted
t/data/sympa.conf
View file @
5b743c3b
...
...
@@ -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
/
data
/
sympa
db_name
t
/
data
/
sympa
.
sqlite
## utilisateur pour la connexion à la base de données
# was db_user user_name
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment