Coding Standards: Add visibility to Tests_Dependencies::test_enqueue_before_register().

Adds a `public` visibility to a test where it was not explicitly specified. This continues the previous efforts to make sure visibility is declared on all methods.

Note: This will be enforced by WPCS 3.0.0.

Follow-up to [51919], [52009], [52010], [52338], [54889].

Props jrf.
See #56791.

git-svn-id: https://develop.svn.wordpress.org/trunk@55022 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-12-30 03:29:11 +00:00
parent 8a71ae17c0
commit 0284a2274f

View File

@ -137,7 +137,7 @@ class Tests_Dependencies extends WP_UnitTestCase {
}
function test_enqueue_before_register() {
public function test_enqueue_before_register() {
$dep = new WP_Dependencies();
$this->assertArrayNotHasKey( 'one', $dep->registered );