Skip to content

Conversation

@millnut
Copy link
Member

@millnut millnut commented Aug 29, 2024

What does this change?

This fixes #40 the failing test in this module, and the last failing PHPUnit test for the project repo 🎉

@millnut millnut marked this pull request as ready for review August 29, 2024 16:22
Copy link
Member

@ekes ekes left a comment

Choose a reason for hiding this comment

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

Fixes #40 as tests pass, looks fine, so happy.

'mail' => 'admin@example.net',
]);
$admin_user->addRole('administrator');
$admin_user = $this->createUser([], 'admin', TRUE, ['mail' => 'admin@example.net']);
Copy link
Member

Choose a reason for hiding this comment

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

Is EntityKernelTestBase just here for this?

Interested rather than bothered.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes and I believe some other things it does differently, trying the other testbase didn't seem to work with assigning roles correctly (at least in Drupal 10.3) until I did some digging around other contrib modules that seem to make similar changes

@ekes ekes mentioned this pull request Sep 3, 2024
@ekes ekes merged commit d6d1fa5 into 1.x Sep 3, 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.

Test failure CrossMenuAssignmentTest::testFormSubmission

3 participants