Skip to content

Commit

Permalink
Merge pull request #93 from openeuropa/OEL-3042
Browse files Browse the repository at this point in the history
OEL-3042: Update to Drupal 10.3
  • Loading branch information
brummbar authored Jul 2, 2024
2 parents e1fc96b + 92fb282 commit ab462ac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ pipeline:

matrix:
include:
- CORE_VERSION: 10.1.0
PHP_VERSION: 8.1
- CORE_VERSION: 10.1.0
PHP_VERSION: 8.2
- CORE_VERSION: 10.2.0
PHP_VERSION: 8.1
- CORE_VERSION: 10.2.0
PHP_VERSION: 8.2
- CORE_VERSION: 10.3.0
PHP_VERSION: 8.1
- CORE_VERSION: 10.3.0
PHP_VERSION: 8.2
3 changes: 2 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<env name="SIMPLETEST_BASE_URL" value="${drupal.base_url}"/>
<env name="SIMPLETEST_DB" value="mysql://${drupal.database.user}:${drupal.database.password}@${drupal.database.host}:${drupal.database.port}/${drupal.database.name}"/>
<env name="SIMPLETEST_SPARQL_DB" value="sparql://${drupal.sparql.host}:${drupal.sparql.port}/?module=sparql_entity_storage"/>
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["${selenium.browser}", {"browserName":"chrome","chromeOptions":{"w3c": false, "args":["--no-sandbox", "--start-maximized", "--disable-gpu", "--window-size=1440,900", "--disable-dev-shm-usage", "--disable-setuid-sandbox", "--disable-web-security", "--DNS-prefetch-disable", "--disable-translate", "--ignore-certificate-errors", "--test-type", "--disable-extensions", "--incognito", "--disable-infobars"]}}, "${selenium.host}:${selenium.port}/wd/hub"]'/>
<!-- @todo When dropping support for 10.2.x, rename "chromeOptions" to "goog:chromeOptions" and remove the w3c setting inside it, keeping only the one one level up. -->
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["${selenium.browser}", {"browserName":"chrome","w3c":false,"chromeOptions":{"w3c": false, "args":["--no-sandbox", "--start-maximized", "--disable-gpu", "--window-size=1440,900", "--disable-dev-shm-usage", "--disable-setuid-sandbox", "--disable-web-security", "--DNS-prefetch-disable", "--disable-translate", "--ignore-certificate-errors", "--test-type", "--disable-extensions", "--incognito", "--disable-infobars"]}}, "${selenium.host}:${selenium.port}/wd/hub"]'/>
</php>
<testsuites>
<testsuite name="OE Contact Forms Tests">
Expand Down
2 changes: 2 additions & 0 deletions tests/src/Functional/ContactFormSanitizeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public function testContactFormMessageDataSanitization() {
$plain_message->save();
$plain_message_id = $plain_message->id();

// We need to write in session table to trigger the table creation.
\Drupal::service('session_handler.storage')->write('some-id', 'serialized-session-data');
$this->drush('sql:sanitize');
\Drupal::configFactory()->clearStaticCache();
$expected = 'The following operations will be performed:' . PHP_EOL;
Expand Down

0 comments on commit ab462ac

Please sign in to comment.