开发者

Grails integration testing facebook graph plugin

I'm using http://www.grails.org/plugin/facebook-graph to get user profile, but I'm stuck to 开发者_如何学编程test from controllers. Anybody could advice me how to mock or test facebook session in integration testing?


how about start testing some post in your wall, using the follow code:

facebookGraphService.publishWall(message:"The message",
           link:"http://www.example.com/article.html",
           name:"The name of the link")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜