diff --git a/test/datasource/packagist.spec.js b/test/datasource/packagist.spec.js
index 19d03c2a7ca5f5140f480406289f6bfff3ebc532..33012d34b352738eb391d6e1105172dad772af65 100644
--- a/test/datasource/packagist.spec.js
+++ b/test/datasource/packagist.spec.js
@@ -223,6 +223,7 @@ describe('datasource/packagist', () => {
       got.mockReturnValueOnce({
         body: JSON.parse(mailchimpJson),
       });
+      config.registryUrls = [];
       expect(
         await datasource.getPkgReleases({
           ...config,