Skip to content

Commit

Permalink
Stub out test classes for Connected Sites.
Browse files Browse the repository at this point in the history
  • Loading branch information
unclegcb committed Dec 29, 2021
1 parent ed0e822 commit b402bd6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/MailchimpConnectedSitesTest.php
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 {

}
27 changes: 27 additions & 0 deletions tests/src/MailchimpConnectedSites.php
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;
}

}

0 comments on commit b402bd6

Please sign in to comment.