1
0
forked from ScoDoc/ScoDoc

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> <li>ScoDoc 9.6 (juillet 2023)</li>
<ul> <ul>
<li>Nouvelle gestion des absences et assiduité</li> <li>Nouvelle gestion des absences et assiduité</li>
<li>Mise à jour logiciels: Debian 12, Python 3.11, ...</li>
</ul> </ul>
<li>ScoDoc 9.5 (juillet 2023)</li> <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: # psql command: if various versions installed, force the one we want:
if [ "${debian_version}" = "11" ] if [ "${debian_version}" = "12" ]
then then
PSQL=/usr/lib/postgresql/13/bin/psql PSQL=/usr/lib/postgresql/15/bin/psql
export POSTGRES_SERVICE="postgresql@11-main.service" #export POSTGRES_SERVICE="postgresql@11-main.service"
else else
die "unsupported Debian version" die "unsupported Debian version"
fi fi