Skip to content

Commit

Permalink
Update tests/wpunit/AssetsTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: theAverageDev (Luca Tumedei) <[email protected]>
  • Loading branch information
dpanta94 and lucatume authored Oct 22, 2024
1 parent 9ef9b69 commit c85b44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wpunit/AssetsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function it_should_get_the_correct_url_when_wp_content_dir_and_wp_content
Config::set_version( '1.1.0' );
Config::set_path( constant( 'WP_PLUGIN_DIR' ) . '/assets' );
Config::set_relative_asset_path( 'tests/_data/' );
// Now are scripts are using a path that does not actually exist in the filesystem. So we can't expect it to figure out minified vs un-minified. So we are adding a new param.
// Now our scripts are using a path that does not actually exist in the filesystem. So we can't expect it to figure out minified vs un-minified. So we are adding a new param.
Config::add_group_path( 'fake-group-path', constant( 'WP_PLUGIN_DIR' ) . '/another-plugin/ecp', 'random/feature' );

foreach ( array_keys( $slugs ) as $slug ) {
Expand Down

0 comments on commit c85b44d

Please sign in to comment.