diff --git a/tests/test_erd.py b/tests/test_erd.py
index <HASH>..<HASH> 100644
--- a/tests/test_erd.py
+++ b/tests/test_erd.py
@@ -65,5 +65,5 @@ class TestERD:
 
     @staticmethod
     def test_schema_erd():
-        erd = schema.schema.erd()
+        erd = schema_advanced.schema.erd()
         assert_true(isinstance(erd, dj.ERD))
added test for the `erd` method of `dj.Schema` objects.