Skip to content

Commit

Permalink
Fix inability to deactivate Divi theme right after activation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Nov 3, 2024
1 parent ef511e3 commit 81f790f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .tests/php/unit/Settings/IntegrationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public function test_init_hooks(): void {

WP_Mock::expectActionAdded( 'kagg_settings_header', [ $subject, 'search_box' ] );
WP_Mock::expectActionAdded( 'wp_ajax_' . Integrations::ACTIVATE_ACTION, [ $subject, 'activate' ] );
WP_Mock::expectActionAdded( 'after_switch_theme', [ $subject, 'after_switch_theme_action' ], 0 );

$method = 'init_hooks';

Expand Down

0 comments on commit 81f790f

Please sign in to comment.