mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00: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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user