SevenShores\Hubspot\Tests\Integration\Resources\CompanyPropertiesTest::updateGroup PHP Method

updateGroup() public method

public updateGroup ( )
    public function updateGroup()
    {
        $createdGroupResponse = $this->createCompanyPropertyGroup();
        $group = ["displayName" => "An Updated Company Property Group", "displayOrder" => 6];
        $response = $this->companyProperties->updateGroup($createdGroupResponse->name, $group);
        $this->assertEquals(200, $response->getStatusCode());
        $this->assertEquals('An Updated Company Property Group', $response['displayName']);
    }