Skip to content

Commit

Permalink
fix Validators unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mawen12 committed Jan 24, 2025
1 parent c712b62 commit 25b2ca4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.common.TopicConfig;
import org.apache.rocketmq.common.constant.PermName;
import org.apache.rocketmq.common.help.FAQUrl;
import org.apache.rocketmq.common.topic.TopicValidator;
import org.apache.rocketmq.remoting.protocol.ResponseCode;
import org.junit.Test;
Expand All @@ -38,7 +39,7 @@ public void testGroupNameBlank() {
Validators.checkGroup(null);
fail("excepted MQClientException for group name is blank");
} catch (MQClientException e) {
assertThat(e.getErrorMessage()).isEqualTo("the specified group is blank");
assertThat(e.getErrorMessage()).isEqualTo("the specified group is blank" + FAQUrl.suggestTodo(FAQUrl.CLIENT_PARAMETER_CHECK_URL));
}
}

Expand Down

0 comments on commit 25b2ca4

Please sign in to comment.