Skip to content

Commit

Permalink
OXDEV-7732: Update Codeception to new version 5 structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelOxid committed Apr 25, 2024
1 parent 134c0dc commit d11ff26
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- Use PHPUnit 10 in composer.json
- Updated the structure to Codeception 5

### Removed
- PHP 8.0 support
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

"codeception": [
"Composer\\Config::disableProcessTimeout",
"MODULE_IDS=oe_graphql_base,oe_graphql_configuration_access /var/www/vendor/bin/codecept run acceptance -c /var/www/vendor/oxid-esales/graphql-configuration-access/tests/codeception.yml --no-redirect"
"MODULE_IDS=oe_graphql_base,oe_graphql_configuration_access /var/www/vendor/bin/codecept run Acceptance -c /var/www/vendor/oxid-esales/graphql-configuration-access/tests/codeception.yml --no-redirect"
]
},
"config": {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/Codeception/Config/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@

function getTestDataDumpFilePath(): string
{
return Path::join(__DIR__, '/../', '_data', 'generated', 'dump.sql');
return Path::join(__DIR__, '/../', 'Data', 'generated', 'dump.sql');
}

function getModuleTestDataDumpFilePath()
{
return Path::join(__DIR__, '/../', '_data', 'testdata.sql');
return Path::join(__DIR__, '/../', 'Data', 'testdata.sql');
}

function getTestFixtureSqlFilePath(): string
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ params:
paths:
tests: Codeception
output: Codeception/_output
data: Codeception/_data
support: Codeception/_support
data: Codeception/Data
support: Codeception/Support
envs: Codeception/_envs
actor_suffix: Tester

Expand Down

0 comments on commit d11ff26

Please sign in to comment.