diff --git a/bob/bio/vein/tests/test_databases.py b/bob/bio/vein/tests/test_databases.py
index b53db117cb8d282dfdbc1cba759a88fb545561b9..ebedc63481c6ea09a89bfaf30960b819f0e52d43 100644
--- a/bob/bio/vein/tests/test_databases.py
+++ b/bob/bio/vein/tests/test_databases.py
@@ -13,7 +13,7 @@ def test_verafinger_contactless():
     )
 
     # Getting the absolute path
-    urls = VerafingerContactless.urls()
+    urls = VerafingerContactless.dataset_protocols_urls
     filename = get_file("verafinger_contactless.tar.gz", urls)
 
     # Removing the file before the test
@@ -81,7 +81,7 @@ def test_utfvp():
     from bob.bio.vein.database.utfvp import UtfvpDatabase
 
     # Getting the absolute path
-    urls = UtfvpDatabase.urls()
+    urls = UtfvpDatabase.dataset_protocols_urls
     filename = get_file("utfvp_csv.tar.gz", urls)
 
     # Removing the file before the test