Skip to content

Commit ad80a8e

Browse files
committed
Fixed test.
1 parent 5ae0173 commit ad80a8e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/integration/InitOptionsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public function testAddPageviewProps() {
4242
$this->assertArrayHasKey( 'category', $options['customProperties'] );
4343
$this->assertEquals( 'Uncategorized', $options['customProperties']['category'] );
4444
} finally {
45-
$post = null;
45+
$post = null;
46+
$wp_query = null;
4647
remove_filter( 'plausible_analytics_settings', [ $this, 'enablePageviewProps' ] );
4748
}
4849
}

0 commit comments

Comments
 (0)