diff --git a/tests/integration/PluginTest.php b/tests/integration/PluginTest.php index 29cfebab..05c18deb 100644 --- a/tests/integration/PluginTest.php +++ b/tests/integration/PluginTest.php @@ -16,14 +16,7 @@ public function testRegister() { $class = new Plugin(); $class->register(); - do_action( 'plugins_loaded' ); - - $this->assertTrue( class_exists( '\Plausible\Analytics\WP\Setup' ) ); - define( 'WP_ADMIN', true ); - - $class->register(); - do_action( 'plugins_loaded' ); $this->assertTrue( class_exists( '\Plausible\Analytics\WP\Admin\SelfHosted' ) );