Server: fix tests
authorChocobozzz <florian.bigard@gmail.com>
Sun, 9 Apr 2017 10:31:04 +0000 (12:31 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sun, 9 Apr 2017 10:31:04 +0000 (12:31 +0200)
server/tests/api/check-params/users.js

index 0aa9a4524a3a572d5631222a91d0cf368c990b74..0ba5e77c386319c49518fce9307150c743845107 100644 (file)
@@ -519,6 +519,7 @@ describe('Test users API validators', function () {
 
   after(function (done) {
     process.kill(-server.app.pid)
+    process.kill(-serverWithRegistrationDisabled.app.pid)
 
     // Keep the logs if the test failed
     if (this.ok) {