Skip to content

Commit b402bd6

Browse files
committed
Stub out test classes for Connected Sites.
1 parent ed0e822 commit b402bd6

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Mailchimp\Tests;
4+
5+
use PHPUnit\Framework\TestCase;
6+
7+
/**
8+
* Mailchimp Connected Sites test library.
9+
*
10+
* @package Mailchimp\Tests
11+
*/
12+
class MailchimpConnectedSitesTest extends TestCase {
13+
14+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace Mailchimp\Tests;
4+
5+
/**
6+
* Mailchimp connected sites library test cases.
7+
*
8+
* @package Mailchimp\Tests
9+
*/
10+
class MailchimpConnectedSites extends \Mailchimp\MailchimpConnectedSites {
11+
12+
/**
13+
* @inheritdoc
14+
*/
15+
public function __construct($api_key = 'apikey', $api_user = 'apikey', $http_options = []) {
16+
$this->client = new MailchimpTestHttpClient();
17+
}
18+
19+
public function getClient() {
20+
return $this->client;
21+
}
22+
23+
public function getEndpoint() {
24+
return $this->endpoint;
25+
}
26+
27+
}

0 commit comments

Comments
 (0)