Scalr\Tests\Model\AbstractEntityTest::cleanupCloudLocations PHP Method

cleanupCloudLocations() private method

Cleanups cloud locations
private cleanupCloudLocations ( )
    private function cleanupCloudLocations()
    {
        $cl2Identifier = CloudLocation::calculateCloudLocationId(self::CL_PLATFORM, self::CL_NAME, self::CL_URL);
        $cl3Identifier = CloudLocation::calculateCloudLocationId(self::CL_PLATFORM, self::CL_NAME . '3', self::CL_URL);
        //Removes records
        $this->removeCloudLocationEntityByIdIfExists(self::CL_LOC_ID);
        $this->removeCloudLocationEntityByIdIfExists($cl2Identifier);
        $this->removeCloudLocationEntityByIdIfExists($cl3Identifier);
    }