Skip to content

Commit

Permalink
Update tests/wpunit/ConfigTest.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 d0552a4 commit 010e7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wpunit/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function should_reset() {
*/
public function should_add_group_paths() {
Config::add_group_path( 'my-group-path-1', dirname( __DIR__, 2) . '/src/feature-1', 'app-1');
Config::add_group_path( 'my-group-path-2', dirname( dirname( __DIR__ ) ) . '/src/feature-2', 'app-2');
Config::add_group_path( 'my-group-path-2', dirname( __DIR__, 2) . '/src/feature-2', 'app-2');

$this->assertEquals( WP_PLUGIN_DIR . '/assets/src/feature-1/', Config::get_path_of_group_path( 'my-group-path-1' ) );
$this->assertEquals( 'app-1/', Config::get_relative_path_of_group_path( 'my-group-path-1' ) );
Expand Down

0 comments on commit 010e7d8

Please sign in to comment.