Skip to content

Conversation

@nlighteneddesign
Copy link
Contributor

@nlighteneddesign nlighteneddesign commented Jul 9, 2024

This should include the exclusion for the new class to match the now deprecated InstallerExistingConfigTestBase.

Comment on lines 72 to 76
$excludedTestTypes = TypeCombinator::union(
new ObjectType('Drupal\\FunctionalTests\\Update\\UpdatePathTestBase'),
new ObjectType('Drupal\\FunctionalTests\\Installer\\InstallerConfigDirectoryTestBase'),
new ObjectType('Drupal\\FunctionalTests\\Installer\\InstallerExistingConfigTestBase')
);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should only add it to the union if Drupal core is > 10.3.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a brand new class, will it fail if it is in the union and it does not exist?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will not

@mglaman mglaman merged commit 7a0b022 into mglaman:main Aug 7, 2024
@mglaman mglaman changed the title Add new class to exclusion [#780] Add InstallerExistingConfigTestBase to BrowserTestBaseDefaultThemeRUle exclusion [#780] Aug 7, 2024
@mglaman mglaman changed the title Add InstallerExistingConfigTestBase to BrowserTestBaseDefaultThemeRUle exclusion [#780] Add InstallerExistingConfigTestBase to BrowserTestBaseDefaultThemeRule exclusion [#780] Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InstallerExistingConfigTestBase is going to be deprecated

2 participants