Skip to content

Commit 25b2ca4

Browse files
committed
fix Validators unit test
1 parent c712b62 commit 25b2ca4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/test/java/org/apache/rocketmq/client/ValidatorsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.apache.rocketmq.client.exception.MQClientException;
2323
import org.apache.rocketmq.common.TopicConfig;
2424
import org.apache.rocketmq.common.constant.PermName;
25+
import org.apache.rocketmq.common.help.FAQUrl;
2526
import org.apache.rocketmq.common.topic.TopicValidator;
2627
import org.apache.rocketmq.remoting.protocol.ResponseCode;
2728
import org.junit.Test;
@@ -38,7 +39,7 @@ public void testGroupNameBlank() {
3839
Validators.checkGroup(null);
3940
fail("excepted MQClientException for group name is blank");
4041
} catch (MQClientException e) {
41-
assertThat(e.getErrorMessage()).isEqualTo("the specified group is blank");
42+
assertThat(e.getErrorMessage()).isEqualTo("the specified group is blank" + FAQUrl.suggestTodo(FAQUrl.CLIENT_PARAMETER_CHECK_URL));
4243
}
4344
}
4445

0 commit comments

Comments
 (0)