Prevent showing WC Customers UI to new WC website

[MAILPOET-2206]
This commit is contained in:
Pavel Dohnal
2019-08-21 13:05:31 +02:00
committed by M. Shull
parent 25ddc80a9a
commit 69e9b099d8
8 changed files with 27 additions and 31 deletions

View File

@@ -23,7 +23,7 @@ class AnalyticsTest extends \MailPoetTest {
parent::_before();
$this->settings = new SettingsController();
$this->analytics = new Analytics(
new Reporter($this->settings, new WooCommerceHelper(new WPFunctions)),
new Reporter($this->settings, new WooCommerceHelper()),
$this->settings
);
// Remove premium plugin hooks so that tests pass also with premium active