forked from ScoDoc/ScoDoc
Change postgresql version in API unit tests
This commit is contained in:
parent
38f93cae99
commit
31b280ec82
@ -12,6 +12,7 @@ SCONEWS = """
|
||||
<li>ScoDoc 9.6 (juillet 2023)</li>
|
||||
<ul>
|
||||
<li>Nouvelle gestion des absences et assiduité</li>
|
||||
<li>Mise à jour logiciels: Debian 12, Python 3.11, ...</li>
|
||||
</ul>
|
||||
|
||||
<li>ScoDoc 9.5 (juillet 2023)</li>
|
||||
|
@ -40,10 +40,10 @@ export SCODOC_DB_TEST="SCODOC_TEST"
|
||||
|
||||
|
||||
# psql command: if various versions installed, force the one we want:
|
||||
if [ "${debian_version}" = "11" ]
|
||||
if [ "${debian_version}" = "12" ]
|
||||
then
|
||||
PSQL=/usr/lib/postgresql/13/bin/psql
|
||||
export POSTGRES_SERVICE="postgresql@11-main.service"
|
||||
PSQL=/usr/lib/postgresql/15/bin/psql
|
||||
#export POSTGRES_SERVICE="postgresql@11-main.service"
|
||||
else
|
||||
die "unsupported Debian version"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user