I implemented this request and it works ok on my local database.
However I have some troubles writing the tests for it

I created a file test/social/GroupsRestTest.php and created a new function there:

require_once 'RestBase.php';

class GroupsRestTest extends RestBase {

 public function testGroupsLifeCycleInJson() {
    $this->assertEquals(1, 0);
 }
}

However when I try to run the tests (http://shindig/test/index.php)
this function is not called, I have always the same output even if I comment the function (the browsers cache is off)

PHPUnit 3.2.9 by Sebastian Bergmann.

.............................SSSSSS.........................  60 / 403
...........

Could you please help?

Thanks
Evgeny


Chris Chabot wrote:
See Paul's earlier reply to this:

No one has proposed this yet. It would be wonderful if you would contribute
it.  Are you considering implementing the proposed Opensocial groups
extension?

On Mon, Mar 15, 2010 at 12:18 PM, Evgeny Bogdanov <[email protected] <mailto:[email protected]>> wrote:

    Hello,

    I would like to know if you plan to implement REST request to get
    a collection of groups for user
    in php version of shindig?

    Maybe I could contribute by implementing this?

    Thank you in advance,
    Evgeny Bogdanov


Reply via email to