DirkGroenen\Pinterest\Tests\Endpoints\PinsTest::testEdit PHP Method

testEdit() public method

public testEdit ( )
    public function testEdit()
    {
        $response = $this->pinterest->pins->edit("503066220854919983", array("note" => "Test pin from API wrapper - update"));
        $this->assertInstanceOf("DirkGroenen\\Pinterest\\Models\\Pin", $response);
        $this->assertEquals($response->id, "503066220854919983");
    }