mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-08-30 02:32:07 +08:00
Delete test-case.php
This commit is contained in:
parent
e88f5e5df5
commit
b1528812cf
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Base test case for MainWP Dashboard.
|
||||
*
|
||||
* @package Mainwp_Child
|
||||
* @author MainWP
|
||||
*/
|
||||
|
||||
class TestCase extends MainWP_Unit_Test_Case {
|
||||
|
||||
/**
|
||||
* Emulate deactivating, then subsequently reactivating the plugin.
|
||||
*/
|
||||
protected static function reactivate_plugin() {
|
||||
$plugin = basename( dirname( __DIR__ ) ) . '/mainwp-child.php';
|
||||
|
||||
do_action( 'deactivate_' . $plugin, false );
|
||||
do_action( 'activate_' . $plugin, false );
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue