From 43f12cce45650854e1237bda9dfb9aacc198a32b Mon Sep 17 00:00:00 2001
From: Weny Xu <wenymedia@gmail.com>
Date: Wed, 21 Feb 2024 00:06:32 +0900
Subject: [PATCH] refactor: rename to create_logical_tables_metadata

---
 src/common/meta/src/ddl/tests/create_logical_tables.rs | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/common/meta/src/ddl/tests/create_logical_tables.rs b/src/common/meta/src/ddl/tests/create_logical_tables.rs
index 4733d5a1c4ec..f19c53b9ed0b 100644
--- a/src/common/meta/src/ddl/tests/create_logical_tables.rs
+++ b/src/common/meta/src/ddl/tests/create_logical_tables.rs
@@ -227,7 +227,7 @@ async fn test_on_prepare_logical_table_exists_err() {
     task.set_table_id(1025);
     ddl_context
         .table_metadata_manager
-        .create_logic_tables_metadata(vec![(
+        .create_logical_tables_metadata(vec![(
             task.table_info.clone(),
             TableRouteValue::logical(1024, vec![RegionId::new(1025, 1)]),
         )])
@@ -273,7 +273,7 @@ async fn test_on_prepare_with_create_if_table_exists() {
     task.set_table_id(8192);
     ddl_context
         .table_metadata_manager
-        .create_logic_tables_metadata(vec![(
+        .create_logical_tables_metadata(vec![(
             task.table_info.clone(),
             TableRouteValue::logical(1024, vec![RegionId::new(8192, 1)]),
         )])
@@ -321,7 +321,7 @@ async fn test_on_prepare_part_logical_tables_exist() {
     task.set_table_id(8192);
     ddl_context
         .table_metadata_manager
-        .create_logic_tables_metadata(vec![(
+        .create_logical_tables_metadata(vec![(
             task.table_info.clone(),
             TableRouteValue::logical(1024, vec![RegionId::new(8192, 1)]),
         )])
@@ -442,7 +442,7 @@ async fn test_on_create_metadata_part_logical_tables_exist() {
     task.set_table_id(8192);
     ddl_context
         .table_metadata_manager
-        .create_logic_tables_metadata(vec![(
+        .create_logical_tables_metadata(vec![(
             task.table_info.clone(),
             TableRouteValue::logical(1024, vec![RegionId::new(8192, 1)]),
         )])
@@ -521,7 +521,7 @@ async fn test_on_create_metadata_err() {
     task.table_info.ident.table_id = 1025;
     ddl_context
         .table_metadata_manager
-        .create_logic_tables_metadata(vec![(
+        .create_logical_tables_metadata(vec![(
             task.table_info,
             TableRouteValue::logical(512, vec![RegionId::new(1026, 1)]),
         )])