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 Call defineMethods if lower method is missing #11437

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Oct 21, 2024

Issue silverstripe/.github#320

Fixes https://github.com/silverstripe/recipe-kitchen-sink/actions/runs/11393429390/job/31701681778

1) SilverStripe\Security\Tests\VersionedMemberAuthenticatorTest::testAuthenticateAgainstLiveStage BadMethodCallException: Object->__call(): the method 'publishSingle' does not exist on 'SilverStripe\Security\Member'

This is a hard to reproduce issue where if you run VersionedMemberAuthenticatorTest AND another test that includes $usesDatabase = true or a fixture file, and you're using kitchen-sink, you'll get the above error. However if you only run VersionedMemberAuthenticatorTest it'll be fine.

@emteknetnz
Copy link
Member Author

Closed in favour of #11438

@emteknetnz emteknetnz closed this Oct 22, 2024
@GuySartorelli GuySartorelli deleted the pulls/6/fix-custom-methods branch October 22, 2024 02:48
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.

1 participant