Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Conversation

SammyK
Copy link
Contributor

@SammyK SammyK commented Jun 14, 2014

Cleaned up the test suite a bit and added garbage collection of the test user so that our apps don't get maxed out with phpunit test users as was happening in my app.

Too many test users

I also added a tiny tweak to FacebookRequests that tracks the number of requests made to Graph. This is great for debugging. The test suite makes 21 calls to Graph right now FYI. :)

I didn't refactor the tests as much as I wanted to since I didn't want to cause any conflicts with #114. So after that one gets merged, I'll send another PR with a better test refactor. And one goal will be to try and decrease the number of requests made to Graph with each test run. :)

@gfosco
Copy link
Contributor

gfosco commented Jun 16, 2014

Cool.

gfosco pushed a commit that referenced this pull request Jun 16, 2014
Added test user garbage collection to test suite
@gfosco gfosco merged commit c9d0671 into facebookarchive:master Jun 16, 2014
@SammyK
Copy link
Contributor Author

SammyK commented Jun 16, 2014

👍

@SammyK SammyK deleted the test-cleanup branch June 16, 2014 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants