| @@ -26,10 +26,10 @@ | ||
| 26 | 26 | |
| 27 | 27 | // Activates this plugin in WordPress so it can be tested. |
| 28 | 28 | $GLOBALS['wp_tests_options'] = [ |
| 29 | 29 | 'active_plugins' => $active_plugins, |
| 30 | - 'template' => 'twentytwentyone', | |
| 31 | - 'stylesheet' => 'twentytwentyone', | |
| 30 | + 'template' => 'twentytwentyone', | |
| 31 | + 'stylesheet' => 'twentytwentyone', | |
| 32 | 32 | ]; |
| 33 | 33 | |
| 34 | 34 | require_once $_tests_dir . '/includes/functions.php'; |
| 35 | 35 | |
| @@ -75,7 +75,9 @@ | ||
| 75 | 75 | return $plugin_class::instance(); |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | $plugin_instance = initialize_elementor_plugin( 'Elementor\Plugin' ); |
| 79 | + | |
| 80 | +$plugin_instance->initialize_container(); | |
| 79 | 81 | |
| 80 | 82 | do_action( 'init' ); |
| 81 | 83 | do_action( 'wp_loaded' ); |