25 lines
526 B
PHP
25 lines
526 B
PHP
<?php
|
|
|
|
class Wiaas_Unit_Test_Case extends WP_UnitTestCase {
|
|
|
|
/**
|
|
* Executes any db migrations that are done to
|
|
* `wp_options` table since it is deleted on every execution
|
|
*/
|
|
function setUp() {
|
|
parent::setUp();
|
|
|
|
# Setup Gravity info since options table is deleted after each test
|
|
gf_upgrade()->install();
|
|
|
|
wiaas_db_update_setup_gravity();
|
|
|
|
wiaas_db_update_enable_orders_access_management();
|
|
|
|
define('WP_TEST_IN_PROGRESS',true);
|
|
}
|
|
|
|
function tearDown() {
|
|
parent::tearDown();
|
|
}
|
|
} |