moveToBoard() public method

Moves pin to a new board
public moveToBoard ( integer $pindId, integer $boardId ) : boolean
$pindId integer
$boardId integer
return boolean
Esempio n. 1
0
 /** @test */
 public function it_should_move_pins_between_boards()
 {
     $this->apiShouldReturnSuccess()->assertTrue($this->provider->moveToBoard(1111, 1));
     $this->apiShouldReturnError()->assertFalse($this->provider->moveToBoard(1111, 1));
 }