You are here

function NotificationsContentTests::listPermissions in Notifications 6.4

Same name and namespace in other branches
  1. 6 tests/notifications_content.test \NotificationsContentTests::listPermissions()
  2. 6.2 tests/notifications_content.test \NotificationsContentTests::listPermissions()
  3. 6.3 tests/notifications_content.test \NotificationsContentTests::listPermissions()
  4. 7 tests/notifications_content.test \NotificationsContentTests::listPermissions()
2 calls to NotificationsContentTests::listPermissions()
NotificationsContentTests::testNotificationsContent in tests/notifications_content.test
Play with creating, retrieving, deleting a pair subscriptions
NotificationsContentTests::testNotificationsUserPages in tests/notifications_content.test
Check all user pages before and after enabling permissions

File

tests/notifications_content.test, line 293

Class

NotificationsContentTests

Code

function listPermissions() {
  return array(
    'access content',
    'access user profiles',
    // This one needed to subscribe to users
    'maintain own subscriptions',
    'manage own subscriptions',
    'subscribe to content',
    'subscribe to content type',
    'subscribe to author',
  );
}