Skip to content

Commit

Permalink
Update CMS Source Code discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
ksvirkou-hubspot committed Oct 24, 2024
1 parent 6b9d909 commit 90f708b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 4 additions & 6 deletions lib/Discovery/Cms/SourceCode/Discovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
use HubSpot\Client\Cms\SourceCode\Api\ContentApi;
use HubSpot\Client\Cms\SourceCode\Api\ExtractApi;
use HubSpot\Client\Cms\SourceCode\Api\MetadataApi;
use HubSpot\Client\Cms\SourceCode\Api\SourceCodeExtractApi;
use HubSpot\Client\Cms\SourceCode\Api\ValidationApi;
use HubSpot\Discovery\DiscoveryBase;

/**
* @method ContentApi contentApi()
* @method ExtractApi extractApi()
* @method MetadataApi metadataApi()
* @method SourceCodeExtractApi sourceCodeExtractApi()
* @method ValidationApi validationApi()
* @method ContentApi contentApi()
* @method ExtractApi extractApi()
* @method MetadataApi metadataApi()
* @method ValidationApi validationApi()
*/
class Discovery extends DiscoveryBase {}
2 changes: 0 additions & 2 deletions tests/spec/Discovery/Cms/SourceCode/DiscoverySpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use HubSpot\Client\Cms\SourceCode\Api\ContentApi;
use HubSpot\Client\Cms\SourceCode\Api\ExtractApi;
use HubSpot\Client\Cms\SourceCode\Api\MetadataApi;
use HubSpot\Client\Cms\SourceCode\Api\SourceCodeExtractApi;
use HubSpot\Client\Cms\SourceCode\Api\ValidationApi;
use HubSpot\Config;
use HubSpot\Discovery\Cms\SourceCode\Discovery;
Expand All @@ -29,7 +28,6 @@ public function it_creates_clients()
$this->contentApi()->shouldHaveType(ContentApi::class);
$this->extractApi()->shouldHaveType(ExtractApi::class);
$this->metadataApi()->shouldHaveType(MetadataApi::class);
$this->sourceCodeExtractApi()->shouldHaveType(SourceCodeExtractApi::class);
$this->validationApi()->shouldHaveType(ValidationApi::class);
}
}

0 comments on commit 90f708b

Please sign in to comment.