setMemberId() public method

Set member ID — portal GUID
public setMemberId ( string $memberId ) : true
$memberId string
return true
Exemplo n.º 1
0
 /**
  * @covers Bitrix24::setMemberId
  */
 public function testSetMemberIdWithEmptyStringArgument()
 {
     $this->setExpectedException('\\Bitrix24\\Exceptions\\Bitrix24Exception');
     $obBitrix24 = new Bitrix24(false, new NullLogger());
     $result = $obBitrix24->setMemberId('');
     $this->assertTrue($result);
 }