Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 48d4c8f

Browse files
committed
closer
1 parent 9b00146 commit 48d4c8f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/phpunit/tests/admin/wpPluginDependencies.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ public function data_parse_plugin_headers() {
338338
public function test_slugs_are_correctly_sanitized_from_the_requiresplugins_header( $requires_plugins, $expected ) {
339339
$wppd = new WP_Plugin_Dependencies();
340340
$sanitize = $this->make_method_accessible( $wppd, 'sanitize_dependency_slugs' );
341-
// $headers = array( 'test-plugin' => array( 'RequiresPlugins' => $requires_plugins ) );
342-
//$headers = array( 'test-plugin' => $requires_plugins );
343341
$actual = $sanitize->invoke( $wppd, $requires_plugins );
344342
$this->assertSame( $expected, $actual );
345343
}
@@ -542,7 +540,7 @@ public function data_get_dependency_filepaths() {
542540
public function test_get_dependency_filepaths_with_unmatched_dirnames_and_dirnames_cache() {
543541
$wppd = new WP_Plugin_Dependencies();
544542
$get_filepaths = $this->make_method_accessible( $wppd, 'get_dependency_filepaths' );
545-
$dependency_slugs = $this->make_prop_accessible( $wppd, 'slugs' );
543+
$dependency_slugs = $this->make_prop_accessible( $wppd, 'dependency_slugs' );
546544
$dependency_plugins = $this->make_prop_accessible( $wppd, 'plugins' );
547545
$dependency_dirnames = $this->make_prop_accessible( $wppd, 'plugin_dirnames' );
548546
$dependency_dirnames_cache = $this->make_prop_accessible( $wppd, 'plugin_dirnames_cache' );

0 commit comments

Comments
 (0)