Change postgresql version in API unit tests

This commit is contained in:
Emmanuel Viennet 2023-07-11 09:56:25 +02:00
parent 38f93cae99
commit 31b280ec82
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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