From 6dd8d7783906965b1f175800efdd229758dfc76c Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 25 Apr 2024 15:04:51 -0400 Subject: [PATCH] add index names to pass validation --- tests/unit/test_postgres_adapter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/test_postgres_adapter.py b/tests/unit/test_postgres_adapter.py index 88d37c438e9..119f9d9aef4 100644 --- a/tests/unit/test_postgres_adapter.py +++ b/tests/unit/test_postgres_adapter.py @@ -662,16 +662,19 @@ def test_convert_time_type(self): def test_index_config_changes(): index_0_old = { + "name": "my_index_0", "column_names": {"column_0"}, "unique": True, "method": "btree", } index_1_old = { + "name": "my_index_1", "column_names": {"column_1"}, "unique": True, "method": "btree", } index_2_old = { + "name": "my_index_2", "column_names": {"column_2"}, "unique": True, "method": "btree", @@ -684,6 +687,7 @@ def test_index_config_changes(): index_2_new = deepcopy(index_2_old) index_2_new.update(method="hash") index_3_new = { + "name": "my_index_3", "column_names": {"column_3"}, "unique": True, "method": "hash",