Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 535cbd5

Browse files
committed
Add test for filter_customize_refresh_nonces
1 parent 1ed08b6 commit 535cbd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/php/test-class-customize-snapshot-manager.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,8 @@ function test_enqueue_frontend_scripts() {
748748
* @covers CustomizeSnapshots\Customize_Snapshot_Manager::filter_customize_refresh_nonces()
749749
*/
750750
function test_filter_customize_refresh_nonces() {
751-
$this->markTestIncomplete();
751+
$manager = new Customize_Snapshot_Manager( $this->plugin );
752+
$this->assertArrayHasKey( 'snapshot', $manager->filter_customize_refresh_nonces( array() ) );
752753
}
753754

754755
/**

0 commit comments

Comments
 (0)