This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new f91506cbad1 Refactor GlobalRuleNodePathGeneratorTest (#34693)
f91506cbad1 is described below
commit f91506cbad104067a1f2cbc6eb7fe10b73537187
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Feb 16 14:04:49 2025 +0800
Refactor GlobalRuleNodePathGeneratorTest (#34693)
* Refactor GlobalRuleNodePathGeneratorTest
* Refactor NodePathGenerator's test cases
---
.../mode/node/path/config/global/GlobalRuleNodePathGeneratorTest.java | 2 +-
.../mode/node/path/metadata/database/SchemaNodePathGeneratorTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePathGeneratorTest.java
b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePathGeneratorTest.java
index e7f11af1a86..f254a7a356d 100644
---
a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePathGeneratorTest.java
+++
b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/config/global/GlobalRuleNodePathGeneratorTest.java
@@ -31,7 +31,7 @@ class GlobalRuleNodePathGeneratorTest {
}
@Test
- void assertGetRulePath() {
+ void assertGetPath() {
assertThat(new GlobalRuleNodePathGenerator().getPath("foo_rule"),
is("/rules/foo_rule"));
}
diff --git
a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/metadata/database/SchemaNodePathGeneratorTest.java
b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/metadata/database/SchemaNodePathGeneratorTest.java
index c004cd3e913..053f455ef4d 100644
---
a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/metadata/database/SchemaNodePathGeneratorTest.java
+++
b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/metadata/database/SchemaNodePathGeneratorTest.java
@@ -30,7 +30,7 @@ class SchemaNodePathGeneratorTest {
}
@Test
- void assertGetSchemaPath() {
+ void assertGetPath() {
assertThat(new
SchemaNodePathGenerator("foo_db").getPath("foo_schema"),
is("/metadata/foo_db/schemas/foo_schema"));
}
}