summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ConcertTest.php1
-rw-r--r--tests/bootstrap.php1
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/ConcertTest.php b/tests/ConcertTest.php
index 5e6ebde..d81effd 100644
--- a/tests/ConcertTest.php
+++ b/tests/ConcertTest.php
@@ -71,7 +71,6 @@ final class ConcertTest extends WP_UnitTestCase
$tables = [
"wpg_concerts",
"wpg_venues",
- "wpg_concertlogs",
];
foreach( $tables as $table ) {
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index b090644..c999ba1 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -30,6 +30,7 @@ require_once $_tests_dir . '/includes/functions.php';
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
+ define('WP_ADMIN', true); // We're always in admin
require dirname( dirname( __FILE__ ) ) . '/giglogadmin.php';
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );