File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/phpunit/tests/includes Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,15 +234,15 @@ public function test__unregister_post_status() {
234234 * @ticket 28486
235235 */
236236 public function test_setExpectedDeprecated () {
237- $ this ->setExpectedDeprecated ( ' Tests_TestHelpers::mock_deprecated ' );
237+ $ this ->setExpectedDeprecated ( __CLASS__ . ' ::mock_incorrect_usage ' );
238238 $ this ->assertTrue ( $ this ->mock_deprecated () );
239239 }
240240
241241 /**
242242 * @ticket 28486
243243 */
244244 public function test_setExpectedIncorrectUsage () {
245- $ this ->setExpectedIncorrectUsage ( ' Tests_TestHelpers ::mock_incorrect_usage ' );
245+ $ this ->setExpectedIncorrectUsage ( __CLASS__ . ' ::mock_incorrect_usage ' );
246246 $ this ->assertTrue ( $ this ->mock_incorrect_usage () );
247247 }
248248
You can’t perform that action at this time.
0 commit comments