diff --git a/tests/test_client.py b/tests/test_client.py
index cfa7bbb27657ee286bb8631c4a0e9cc72c2d13fd..3de576d6dda1c958cdb495cad671321b6d3483e0 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -105,11 +105,11 @@ def test_register_data(auth_test_client, collection_id, comment, name):
     (1, None, 'test_name'),
     (1, 'test comment', 'test_name'),
 ))
-def test_register_stocks_data(auth_test_client, collection_id, comment, name):
+def test_register_labid_data(auth_test_client, collection_id, comment, name):
     """
     Test the data registration endpoint.
     """
-    resp = auth_test_client.register_stocks_data(
+    resp = auth_test_client.register_labid_data(
         path='/g/test/stocks/bar',
         collection_id=collection_id,
         comment=comment,