diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 821351a610b4680610eee7b5f94c558c0ee3eb8c..a80690a07afac2b0c71028b7d2064ded9dd037c4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,6 @@ variables:
 cache:
   paths:
   - node_modules/
-  - ldap_credentials.json
 
 stages:
   - build
@@ -38,7 +37,6 @@ tests:mocha:
   stage: tests
   script:
     - npm ci && npm i -g knex
-    - echo '{"dn":"dn", "passwd":"passwd"}' >> ldap_credentials.json
     # set up to use ldap, not ldaps
     - export LDAP_URI=ldap://ldapdev.eleves.polytechnique.fr:389
     - export LDAP_DN=uid=sigma,ou=services,dc=frankiz,dc=net