From 1ce51bd65032da5193dc0e39805071b0aeb82252 Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Mon, 15 Jul 2019 01:09:45 +0200
Subject: [PATCH] PHP 7.4/array-access: Fix
Tests_TermExists::test_term_exists_taxonomy_nonempty_parent_0_should_return_false_for_child_term()
---
tests/phpunit/tests/term/termExists.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/phpunit/tests/term/termExists.php b/tests/phpunit/tests/term/termExists.php
index 658cac087a..a99aefbb76 100644
a
|
b
|
class Tests_TermExists extends WP_UnitTestCase { |
150 | 150 | |
151 | 151 | _unregister_taxonomy( 'foo' ); |
152 | 152 | |
153 | | $this->assertSame( null, $found['term_id'] ); |
| 153 | $this->assertSame( null, $found ); |
154 | 154 | } |
155 | 155 | |
156 | 156 | public function test_term_exists_taxonomy_nonempty_parent_nonempty_match_name() { |