totalo commented on a change in pull request #9750:
URL: https://github.com/apache/shardingsphere/pull/9750#discussion_r598495595
##########
File path:
shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/test/java/org/apache/shardingsphere/proxy/initializer/impl/GovernanceBootstrapInitializerTest.java
##########
@@ -227,4 +227,10 @@ public void assertDecorateTransactionContexts() {
protected void prepareSpecifiedInitializer() {
setInitializer(new GovernanceBootstrapInitializer());
}
+
+ private StandardMetaDataContexts mockStandardMetaDataContexts() {
+ StandardMetaDataContexts standardMetaDataContexts =
mock(StandardMetaDataContexts.class);
+ when(standardMetaDataContexts.getProps()).thenReturn(new
ConfigurationProperties(new Properties()));
+ return standardMetaDataContexts;
+ }
Review comment:
ok~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]