mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 23:50:43 +01:00
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:
parent
8a71ae17c0
commit
0284a2274f
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user