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

Add policy enforcement tests #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jplyle
Copy link
Contributor

@jplyle jplyle commented Jul 10, 2013

This test does the following:

  • Replaces the PZP's policy with a policy denying access to everything except service discovery
  • Runs the PZP
  • Uses zombiejs to load a browser, pointing to a page attempting to use the get42() function
  • Returns 'success' if the page fails to use the API

Note that these tests are not integrated with Travis, yet, although they could very easily be.

Jira issue :WP-996

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

Successfully merging this pull request may close these issues.

2 participants