You are here

function NotificationsContentTests::listPermissions in Notifications 6

Same name and namespace in other branches
  1. 6.4 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 275

Class

NotificationsContentTests
Class for testing notifications module. Tests basic API functions

Code

function listPermissions() {
  return array(
    'access content',
    'maintain own subscriptions',
    'subscribe to content',
    'subscribe to content type',
    'subscribe to author',
  );
}