-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stub out test classes for Connected Sites.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Mailchimp\Tests; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
/** | ||
* Mailchimp Connected Sites test library. | ||
* | ||
* @package Mailchimp\Tests | ||
*/ | ||
class MailchimpConnectedSitesTest extends TestCase { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
namespace Mailchimp\Tests; | ||
|
||
/** | ||
* Mailchimp connected sites library test cases. | ||
* | ||
* @package Mailchimp\Tests | ||
*/ | ||
class MailchimpConnectedSites extends \Mailchimp\MailchimpConnectedSites { | ||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
public function __construct($api_key = 'apikey', $api_user = 'apikey', $http_options = []) { | ||
$this->client = new MailchimpTestHttpClient(); | ||
} | ||
|
||
public function getClient() { | ||
return $this->client; | ||
} | ||
|
||
public function getEndpoint() { | ||
return $this->endpoint; | ||
} | ||
|
||
} |