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

Disable lookup? #37

Open
ktwbc opened this issue May 20, 2016 · 0 comments
Open

Disable lookup? #37

ktwbc opened this issue May 20, 2016 · 0 comments

Comments

@ktwbc
Copy link

ktwbc commented May 20, 2016

Is there any recommended way to disable lookup based on any sort of criteria? For example, when running unit tests I don't want the Google map lookup to fire (since it fails sometimes and I dont' want that to break testing), but there doesn't appear to be any way to make lookup conditional other than annotation in the Entity itself which can't be written to check something like SYMFONY_ENV.

Right now when I run tests, the Mock Data import is causing it to lookup as they're inserted which is causing test problems.

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

No branches or pull requests

1 participant