PayPal\Test\Functional\Api\WebProfileFunctionalTest::testPartialUpdate PHP Method

testPartialUpdate() public method

public testPartialUpdate ( $webProfile )
$webProfile WebProfile
    public function testPartialUpdate($webProfile)
    {
        $patches = array();
        $patches[] = new Patch('{
             "op": "add",
             "path": "/presentation/brand_name",
             "value":"new_brand_name"
          }');
        $patches[] = new Patch('{
             "op": "remove",
            "path": "/flow_config/landing_page_type"

          }');
        $result = $webProfile->partial_update($patches, $this->apiContext, $this->mockPayPalRestCall);
        $this->assertTrue($result);
    }