diff --git a/lib/Discovery/Marketing/Transactional/Discovery.php b/lib/Discovery/Marketing/Transactional/Discovery.php index a3fcca0a..332c4e9e 100644 --- a/lib/Discovery/Marketing/Transactional/Discovery.php +++ b/lib/Discovery/Marketing/Transactional/Discovery.php @@ -2,12 +2,12 @@ namespace HubSpot\Discovery\Marketing\Transactional; -use HubSpot\Client\Marketing\Transactional\Api\PublicSmtpTokensApi; +use HubSpot\Client\Marketing\Transactional\Api\PublicSMTPTokensApi; use HubSpot\Client\Marketing\Transactional\Api\SingleSendApi; use HubSpot\Discovery\DiscoveryBase; /** - * @method PublicSmtpTokensApi publicSmtpTokensApi() + * @method PublicSMTPTokensApi publicSMTPTokensApi() * @method SingleSendApi singleSendApi() */ class Discovery extends DiscoveryBase {} diff --git a/tests/spec/Discovery/Marketing/Transactional/DiscoverySpec.php b/tests/spec/Discovery/Marketing/Transactional/DiscoverySpec.php index a1d25c3c..46b6cb2e 100644 --- a/tests/spec/Discovery/Marketing/Transactional/DiscoverySpec.php +++ b/tests/spec/Discovery/Marketing/Transactional/DiscoverySpec.php @@ -3,7 +3,7 @@ namespace spec\HubSpot\Discovery\Marketing\Transactional; use GuzzleHttp\Client; -use HubSpot\Client\Marketing\Transactional\Api\PublicSmtpTokensApi; +use HubSpot\Client\Marketing\Transactional\Api\PublicSMTPTokensApi; use HubSpot\Client\Marketing\Transactional\Api\SingleSendApi; use HubSpot\Config; use HubSpot\Discovery\Marketing\Transactional\Discovery; @@ -23,7 +23,7 @@ public function it_is_initializable() public function it_creates_clients() { - $this->publicSmtpTokensApi()->shouldHaveType(PublicSmtpTokensApi::class); + $this->publicSMTPTokensApi()->shouldHaveType(PublicSMTPTokensApi::class); $this->singleSendApi()->shouldHaveType(SingleSendApi::class); } }