function UserRelationshipsApiSocnetTestCase::testIsBlocked in User Relationships 6
File
- user_relationships_api/
tests/ user_relationships_api.socnet.test, line 220 - Social networking hook API testcase @author Alex Karshakevich http://drupal.org/user/183217
Class
- UserRelationshipsApiSocnetTestCase
- @file Social networking hook API testcase @author Alex Karshakevich http://drupal.org/user/183217
Code
function testIsBlocked() {
$user1 = $this
->drupalCreateUser();
$user2 = $this
->drupalCreateUser();
//UR does not implement it
$result = module_invoke_all('socnet_is_blocked', $user1->uid, $user2->uid);
$this
->assertTrue(count($result) == 0);
}