Metadrop / drupal-boilerplate

Drupal projects up and running with Docker and many other tools in minutes
28 stars 23 forks source link

TEST - Add access tests and refactor #58

Closed albefer closed 2 years ago

albefer commented 2 years ago

Added test coverage to control access to different types of content depending on user role and content publishing status. Two types of tests have been added, those that depend on the moderation_state and other simpler ones that check the status (published and draft). This functionality has been deleted of the other tests to avoid duplication.

rsanzante commented 2 years ago

It looks good to me.