| 1 |
<?php |
| 2 |
namespace Vimeography_Unit_Tests; |
| 3 |
|
| 4 |
//require dirname( __FILE__ ) . '/factory.php'; |
| 5 |
|
| 6 |
class Vimeography_UnitTestCase extends \WP_UnitTestCase { |
| 7 |
public function setUp() { |
| 8 |
parent::setUp(); |
| 9 |
set_current_screen( 'dashboard' ); |
| 10 |
//$this->factory = new EDD_UnitTest_Factory; |
| 11 |
|
| 12 |
//require_once dirname(__FILE__) . '/../subclasses/test_shortcode.php'; |
| 13 |
} |
| 14 |
|
| 15 |
public function clean_up_global_scope() { |
| 16 |
parent::clean_up_global_scope(); |
| 17 |
} |
| 18 |
|
| 19 |
public function assertPreConditions() { |
| 20 |
parent::assertPreConditions(); |
| 21 |
} |
| 22 |
|
| 23 |
public function set_current_user( $user_id ) { |
| 24 |
wp_set_current_user( $user_id ); |
| 25 |
} |
| 26 |
} |