I was surprised to find out that Drupal's simpletest framework does not have a built in function to create a user with a role. After searching around the net I came across this blog post which helped me: http://mediatribe.net/en/node/49
I was surprised to find out that Drupal's simpletest framework does not have a built in function to create a user with a role. After searching around the net I came across this blog post which helped me: http://mediatribe.net/en/node/49