Skip to content

Commit

Permalink
adjust tests (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat authored Feb 11, 2024
1 parent e09a199 commit 2249118
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ jobs:

- name: Setup Chromium
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
nohup $CHROMEWEBDRIVER/chromedriver --url-base=/wd/hub /dev/null 2>&1 &
- name: Start Symfony Server
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/Constraints/BicConstraintCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BicConstraintCest extends AbstractConstraintCest
/**
* @var string
*/
protected $defaultErrorMessage = 'This is not a valid Business Identifier Code (BIC)';
protected $defaultErrorMessage = 'This value is not a valid Business Identifier Code (BIC)';

/**
* @var string
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/Constraints/IbanConstraintCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class IbanConstraintCest extends AbstractConstraintCest
/**
* @var string
*/
protected $defaultErrorMessage = 'This is not a valid International Bank Account Number (IBAN)';
protected $defaultErrorMessage = 'This value is not a valid International Bank Account Number (IBAN)';

/**
* @var string
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/Constraints/IpConstraintCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class IpConstraintCest extends AbstractConstraintCest
/**
* @var string
*/
protected $defaultErrorMessage = 'This is not a valid IP address';
protected $defaultErrorMessage = 'This value is not a valid IP address';

/**
* @var string
Expand Down
5 changes: 2 additions & 3 deletions tests/_envs/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ modules:
port: 9515
restart: true
wait: 1
window_size: 1280x1024
capabilities:
chromeOptions:
args: ['--no-sandbox', '--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage']
'goog:chromeOptions':
args: ['--no-sandbox', '--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--window-size=1280,1024']
prefs:
download.default_directory: '%TEST_BUNDLE_TEST_DIR%/_data/downloads'

0 comments on commit 2249118

Please sign in to comment.