MailchimpCampaignTestBase.php in Mailchimp 8
File
tests/src/Functional/MailchimpCampaignTestBase.php
View source
<?php
namespace Drupal\Tests\mailchimp_campaign\Functional;
use Drupal\mailchimp_campaign_test\MailchimpCampaignConfigOverrider;
use Drupal\Tests\BrowserTestBase;
include_once __DIR__ . "/../../../../../lib/mailchimp-api-php/tests/src/Client.php";
include_once __DIR__ . "/../../../../../lib/mailchimp-api-php/tests/src/Mailchimp.php";
include_once __DIR__ . "/../../../../../lib/mailchimp-api-php/tests/src/MailchimpTestHttpClient.php";
include_once __DIR__ . "/../../../../../lib/mailchimp-api-php/tests/src/MailchimpTestHttpResponse.php";
include_once __DIR__ . "/../../../../../lib/mailchimp-api-php/tests/src/MailchimpCampaigns.php";
abstract class MailchimpCampaignTestBase extends BrowserTestBase {
protected $defaultTheme = 'classy';
protected function setUp() {
parent::setUp();
\Drupal::configFactory()
->addOverride(new MailchimpCampaignConfigOverrider());
}
}