Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Mile23’s picture

Thanks.

Have a patch?

hefox’s picture

hefox’s picture

Status: Active » Needs review
FileSize
1.53 KB

Status: Needs review » Needs work

The last submitted patch, 2011058-examples-node_access_author_grant-2.patch, failed testing.

hefox’s picture

Status: Needs work » Needs review
FileSize
1.6 KB
Mile23’s picture

I'd wager that this lapse happened because there's no test of behavior for anonymous users.

Care to write one? :-)

Mile23’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests, +Novice

Just changing the status and tags.

And clarifying: The patch looks good, just needs a regression test. If anyone ever wanted to learn how to write a test, here's your chance. :-)

vlad.n’s picture

Added tests, verifying the access of an anonymous user to the private nodes with known or anonymous author. Testing the nodes that don't have an author was done using the nodes that were already made in the test and removing the author and moving back to the original auther after the test. I think that these test needs more refactoring.

vlad.n’s picture

Status: Needs work » Needs review

The last submitted patch, 8: 2011058-examples-node_access_author_grant-8.patch, failed testing.

Mile23’s picture

Mile23’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.