-
Notifications
You must be signed in to change notification settings - Fork 36
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
Can't create unauthenticated user for tests #12
Comments
I just ran into the same issue. This should really be fixed. It seems this isn't the issue if you are using the API. But with the CLI it is broken. I fixed it with a dirty hack by changing line 22 of test-jig.js to:
I wouldn't recommend this solution, but at least I can run my tests :-) |
@goldibex are you accepting PRs or anything to get this moving along? Just ran into this with the CLI tool, and wouldn't mind a fix, and don't mind doing the fix myself if necessary. Jasmine and Chai both have this functionality, so it would be great if all facets of this project had the same feature sets. |
@mrozbarry with my apologies for the delay. I would happily accept PRs! |
Just submitted a PR that should fix this. |
Support unauthenticated user (null auth payload) for CLI. Fixes #12.
I'm trying to create a user in the
users
object that's unauthenticated via:Then I have a rule that checks
auth != null
:I get this error when running tests:
The text was updated successfully, but these errors were encountered: