summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/backends/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py
index dd537d1ea3..d335aaefbc 100644
--- a/tests/backends/tests.py
+++ b/tests/backends/tests.py
@@ -622,7 +622,7 @@ class FkConstraintsTests(TransactionTestCase):
with connection.constraint_checks_disabled():
a.save()
with self.assertRaises(IntegrityError):
- connection.check_constraints()
+ connection.check_constraints(table_names=[Article._meta.db_table])
transaction.set_rollback(True)
def test_check_constraints_sql_keywords(self):