From 0dc1f270ec834cc4b1d12b3136628eb59fa450de Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Fri, 25 Sep 2015 04:31:52 +0000 Subject: [PATCH] After [34529], fix multisite site creation test. The test `Tests_Multisite_Site::test_created_site_details()` checks for tables that should be empty on a newly created MS site. `termmeta` is now one of those tables. See #10142. git-svn-id: https://develop.svn.wordpress.org/trunk@34532 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/multisite/site.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/multisite/site.php b/tests/phpunit/tests/multisite/site.php index 6b8a69580d..8afd66f490 100644 --- a/tests/phpunit/tests/multisite/site.php +++ b/tests/phpunit/tests/multisite/site.php @@ -112,9 +112,9 @@ class Tests_Multisite_Site extends WP_UnitTestCase { // The table should exist. $this->assertNotEmpty( $table_fields ); - // And the table should not be empty, unless commentmeta or links. + // And the table should not be empty, unless commentmeta, termmeta, or links. $result = $wpdb->get_results( "SELECT * FROM $prefix$table LIMIT 1" ); - if ( 'commentmeta' == $table || 'links' == $table ) { + if ( 'commentmeta' == $table || 'termmeta' == $table || 'links' == $table ) { $this->assertEmpty( $result ); } else { $this->assertNotEmpty( $result );