You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2019/05/30 23:26:20 UTC

[dubbo-website] branch asf-site updated: update stub-mock (#385)

This is an automated email from the ASF dual-hosted git repository.

huxing pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new e03ad80  update stub-mock (#385)
e03ad80 is described below

commit e03ad801d7ccd3df3e3918ea518390f013ca667f
Author: huaifeng <hu...@fanhaoyue.com>
AuthorDate: Fri May 31 07:26:16 2019 +0800

    update stub-mock (#385)
---
 blog/zh-cn/dubbo-stub-mock.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blog/zh-cn/dubbo-stub-mock.md b/blog/zh-cn/dubbo-stub-mock.md
index e3a01c8..7e992b7 100644
--- a/blog/zh-cn/dubbo-stub-mock.md
+++ b/blog/zh-cn/dubbo-stub-mock.md
@@ -195,7 +195,7 @@ public class DemoServiceMock implements DemoService {
 
 
 ```xml
-<dubbo:reference id="demoService" check="false" interface="org.apache.dubbo.samples.mock.api.DemoService" stub="org.apache.dubbo.samples.mock.impl.DemoMock"/>
+<dubbo:reference id="demoService" check="false" interface="org.apache.dubbo.samples.mock.api.DemoService" mock="org.apache.dubbo.samples.mock.impl.DemoMock"/>
 ```