-
Notifications
You must be signed in to change notification settings - Fork 645
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
GlobalSet Element Fixture improvements #4947
GlobalSet Element Fixture improvements #4947
Conversation
Adds ability to specify whether to use AR or Element
@boboldehampsink Thanks... probably should update the docs here, no? https://docs.craftcms.com/v3/testing/testing-craft/fixtures.html#global-set-fixture |
@boboldehampsink I like this idea! This way we preserve the original functionality of your plugin. I need to have a look at the implementation as I see 2 problems:
I'll work on this tommorow and then it should be ready. @angrybrad I'll also update the docs. |
Yeah sorry, didn't test this yet as I just wanted to get the idea out there. Thanks for the help @gtettelaar |
@boboldehampsink Do you have allow edits from maintainers enabled? I can't seem to push up to your branch. |
It is enabled! |
@gtettelaar did you get it to work? |
…st' into globalset-element-fixture-improvements
@boboldehampsink Yea I got it sorted. Git Tower was being annoying on my end. I updated the code, can you check whether this was what you had in mind? |
I tested this and it does what I want. Looks good to me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@angrybrad Good to go!
Looks good... merged! Thanks all. |
Adds ability to specify whether to use AR or Element
@gtettelaar