Fix unit tests (#1605)

8 jobs for master in 18 minutes and 44 seconds (queued for 5 minutes and 54 seconds)
Status Job ID Name Coverage
  Build
passed #22438
autopkgtest

00:02:30

passed #22442
build_bionic

00:03:35

passed #22440
build_buster

00:03:21

failed #22443
build_centos_7

00:03:17

passed #22441
build_disco

00:03:29

failed #22439
build_stretch

00:02:29

 
  Sign
skipped #22444
sign
 
  Deploy
skipped #22445
pages
 
Name Stage Failure
failed
build_centos_7 Build
=	
... using spectool
Getting https://release.ow2.org/lemonldap/lemonldap-ng-2.1.0.tar.gz to /builds/lemonldap-ng/lemonldap-ng/rpm/../lemonldap-ng-2.1.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
ci-build-pkg: spectool failed
ERROR: Job failed: exit code 1
failed
build_stretch Build
make[1]: Leaving directory '/builds/lemonldap-ng/lemonldap-ng'
dh_auto_test: make -j2 test returned exit code 2
debian/rules:20: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc failed
ci-build-pkg: debuild failed
ERROR: Job failed: exit code 1