1 parent 5ae0173 commit ad80a8eCopy full SHA for ad80a8e
1 file changed
tests/integration/InitOptionsTest.php
@@ -42,7 +42,8 @@ public function testAddPageviewProps() {
42
$this->assertArrayHasKey( 'category', $options['customProperties'] );
43
$this->assertEquals( 'Uncategorized', $options['customProperties']['category'] );
44
} finally {
45
- $post = null;
+ $post = null;
46
+ $wp_query = null;
47
remove_filter( 'plausible_analytics_settings', [ $this, 'enablePageviewProps' ] );
48
}
49
0 commit comments