- Issue created by @ddavisboxleitner
- Merge request !26Issue 3409866 - Adding setup config for phpunit β (Merged) created by ddavisboxleitner
- πΊπΈUnited States ddavisboxleitner
I resolved the first error by adding some /etc/hosts entries for the test queries to target.
The second error will need an update. The function drupalPostForm() is being used and is being deprecated.
Details about the change heeded described here: https://www.drupal.org/node/3168858 β
- πΊπΈUnited States ddavisboxleitner
PHPunit tests are now passing.
I had to add some error checking in DomainPathHelper class on the alterEntityForm() function. We can't assume pathauto will be installed.
if (array_key_exists('pathauto', $form['path']['widget'][0])) { $form_state->addBuildInfo('pathauto_checkbox', $form['path']['widget'][0]['pathauto']['#type'] === 'checkbox'); }
- Status changed to Needs review
12 months ago 10:26pm 20 December 2023 - πΊπΈUnited States raywalters
Reviewed and verified that phpunit tests are passing in the pipeline.
- Status changed to RTBC
12 months ago 7:31pm 22 December 2023 - First commit to issue fork.
-
i-trokhanenko β
committed aaf7ef26 on 8.x-1.x authored by
ddavisboxleitner β
Issue #3409866: Resolve phpunit testing errors on Gitlab CI automated...
-
i-trokhanenko β
committed aaf7ef26 on 8.x-1.x authored by
ddavisboxleitner β
- Status changed to Fixed
12 months ago 10:00pm 27 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.