Delivery setup
This commit is contained in:
17
backend/app/plugins/wiaas/tests/wiaas-unit-test-case.php
Normal file
17
backend/app/plugins/wiaas/tests/wiaas-unit-test-case.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user