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

Integration tests are failing due to Facebook's session checker #17

Open
ericadeefox opened this issue Jul 14, 2017 · 0 comments
Open

Comments

@ericadeefox
Copy link

Trying to run tests with this plugin installed will throw the exception: Session not active, could not store state. Occasionally it'll throw: Session not active, could not load state. Both of these exceptions are being thrown from Facebook's PHP SDK, which requires an active session when setting a FBRLH object.

In the component, the FBRLH object is set in beforeFilter(), meaning each test is going to throw Facebook's session exceptions. This can be solved by setting the FBRLH object in initialize() and then calling Facebook's disableSessionStatusCheck() if the app is being accessed via CLI.

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