Skip to content

Commit

Permalink
add Events to Marketing
Browse files Browse the repository at this point in the history
  • Loading branch information
ksvirkou-hubspot committed Mar 21, 2022
1 parent 54f26ed commit 81fc84e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Discovery/Marketing/Discovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use HubSpot\Discovery\DiscoveryBase;

/**
* @method Events\Discovery events()
* @method Transactional\Discovery transactional()
*/
class Discovery extends DiscoveryBase
Expand Down
1 change: 1 addition & 0 deletions tests/spec/Discovery/Marketing/DiscoverySpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function it_is_initializable()

public function it_creates_clients()
{
$this->events()->shouldHaveType(\HubSpot\Discovery\Marketing\Events\Discovery::class);
$this->transactional()->shouldHaveType(\HubSpot\Discovery\Marketing\Transactional\Discovery::class);
}
}

0 comments on commit 81fc84e

Please sign in to comment.