Skip to content
Snippets Groups Projects
Commit e8df00ba authored by Erick Hitter's avatar Erick Hitter
Browse files

PHPCS

parent a772546c
Branches
Tags
1 merge request!14Add native block-editor support
Pipeline #4810 passed
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
$_tests_dir = getenv( 'WP_TESTS_DIR' ); $_tests_dir = getenv( 'WP_TESTS_DIR' );
if ( ! $_tests_dir ) { if ( ! $_tests_dir ) {
// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
$_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-tests-lib'; $_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-tests-lib';
} }
......
...@@ -57,7 +57,7 @@ class RedirectCallbacks extends WP_UnitTestCase { ...@@ -57,7 +57,7 @@ class RedirectCallbacks extends WP_UnitTestCase {
} }
/** /**
* test post with custom redirect code. * Test post with custom redirect code.
*/ */
public function test_post_redirect_custom_status() { public function test_post_redirect_custom_status() {
$post_id = $this->get_new_post(); $post_id = $this->get_new_post();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment