Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken amLoggedInAs - method parameter is being overwritten #97

Merged
merged 2 commits into from Feb 4, 2024

Conversation

warkadiuszz
Copy link
Contributor

Recent changes (here) introduced that bug. The newly added $user variable for checking if User component is of the right type overwrites the parameter to the method with the same name.

Checking user component was overwriting the method parameter with the same name `$user`.
Fix all places where `$user` was confused with `$userComponent`
Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

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

@SamMousa SamMousa merged commit 2aa91e4 into Codeception:master Feb 4, 2024
3 checks passed
@SamMousa
Copy link
Collaborator

SamMousa commented Feb 4, 2024

Thanks!

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.

None yet

3 participants