Skip to content

Commit

Permalink
fix: remove the tests' inclusion in the plugin (openedx#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu authored Jun 26, 2024
1 parent d18f005 commit e97fc8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,22 @@
"admin/",
"admin/views/",
"public/",
"utils/",
"test/"
"utils/"
],
"psr-4": {
"OpenedX_Commerce\\": "includes/",
"OpenedX_Commerce\\model\\": "includes/model/",
"OpenedX_Commerce\\admin\\": "admin/",
"OpenedX_Commerce\\admin\\views\\": "admin/views/",
"OpenedX_Commerce\\public\\": "public/",
"OpenedX_Commerce\\utils\\": "utils/",
"OpenedX_Commerce\\utils\\": "utils/"
}
},
"autoload-dev": {
"classmap": [
"test/"
],
"psr-4": {
"OpenedX_Commerce\\tests\\": "test/"
}
},
Expand Down
3 changes: 0 additions & 3 deletions includes/class-openedx-commerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ private function load_dependencies() {
*/
include_once plugin_dir_path( __DIR__ )
. 'includes/model/class-openedx-commerce-api-calls.php';

include_once plugin_dir_path( __DIR__ )
. 'test/class-enrollment-test.php';
}

/**
Expand Down

0 comments on commit e97fc8a

Please sign in to comment.