Testing complex node access logic
Posted by Ghostthinker on August 6, 2012 at 11:01am
Background
I try to create an automated test for my drupal 7 site to test my rather complex access logic. I am using features, git and drush and a couple of shell scripts for staging. Works great.
My site involves a node access control based on several facts. I wrote a custom module (actually a feature) to create the workflow rules (other workflow module were not fitting my needs)
- workflow_state (custom field)
- workflow history
- global roles
- organic group roles