You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2025/06/20 02:08:50 UTC
(shardingsphere) branch master updated: Refactor SelectStatementContextTest (#35758)
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 a8c5381893f Refactor SelectStatementContextTest (#35758)
a8c5381893f is described below
commit a8c5381893f8ce3def7b3c2466bfcc395ce26609
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Jun 20 10:08:43 2025 +0800
Refactor SelectStatementContextTest (#35758)
---
.../binder/context/statement/type/dml/SelectStatementContextTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/statement/type/dml/SelectStatementContextTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/statement/type/dml/SelectStatementContextTest.java
index 1515af53cc8..58b5e51ad01 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/statement/type/dml/SelectStatementContextTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/statement/type/dml/SelectStatementContextTest.java
@@ -201,8 +201,8 @@ class SelectStatementContextTest {
void assertSetWhere() {
SelectStatement selectStatement = new SelectStatement();
WhereSegment whereSegment = mock(WhereSegment.class, RETURNS_DEEP_STUBS);
- selectStatement.setWhere(whereSegment);
when(whereSegment.getExpr().getText()).thenReturn("");
+ selectStatement.setWhere(whereSegment);
ShardingSphereDatabase database = mockDatabase();
selectStatement.setProjections(new ProjectionsSegment(0, 0));
SelectStatementContext actual =