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

Tests #4

Open
agallant opened this issue Feb 13, 2015 · 1 comment
Open

Tests #4

agallant opened this issue Feb 13, 2015 · 1 comment

Comments

@agallant
Copy link

Ideally we should be able to just run existing social provider unit/integration tests, but some level of rigging up will presumably be required.

@dborkan
Copy link
Contributor

dborkan commented Mar 14, 2015

We will also want tests to verify that Firebase permissions continue working as intended. These test cases have all been manually verified, but it would be good to have tests:

  • I can't write to users inboxes who aren't my friends
  • I can't write to a users inbox meant for another friend
  • I can't see clients of users who aren't my friends
  • I can only write to my own clientStates
  • I can't read another users list of friends (even if they are my friend)
  • I can't read messages sent from one user to another, even for friends
  • I can't see who my friends are friends with

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

2 participants