diff --git a/tests/unit/test_sync.py b/tests/unit/test_sync.py
index c2ddee90c7116daec4a64db6dfe5eca439ad32e9..6235088fcbf4dca05afafccdd4e0a35a397cbc41 100644
--- a/tests/unit/test_sync.py
+++ b/tests/unit/test_sync.py
@@ -389,7 +389,7 @@ class TestRouteLayer:
             encoder=openai_encoder,
             routes=[],
             index=init_index(index_cls),
-            sync=None,
+            auto_sync=None,
         )
         route_layer.sync("remote")
         time.sleep(PINECONE_SLEEP)  # allow for index to be populated