You are here

public function SearchByPageTester::searchPerm in Search by Page 7

Same name and namespace in other branches
  1. 6 tests/search_by_page.test \SearchByPageTester::searchPerm()

Returns the permission name to search the given search environment.

15 calls to SearchByPageTester::searchPerm()
SearchByPageAttachTest::setUpUsers in tests/search_by_page.test
Sets up superuser and low-privilege user.
SearchByPageEnvironmentTest::setUp in tests/search_by_page.test
Sets up a Drupal site for running functional and integration tests.
SearchByPageExtraUsersTest::setUp in tests/search_by_page.test
Sets up a Drupal site for running functional and integration tests.
SearchByPageIntlTest::setUp in tests/search_by_page.test
Sets up a Drupal site for running functional and integration tests.
SearchByPageNodesReindexTest::setUp in tests/search_by_page.test
Sets up a Drupal site for running functional and integration tests.

... See full list

File

tests/search_by_page.test, line 165
Tests for the Search by Page module. By Jennifer Hodgdon of Poplar ProductivityWare, www.poplarware.com

Class

SearchByPageTester
Base class for testing Search by Page.

Code

public function searchPerm($envinfo) {
  return 'search page environment ' . $envinfo['environment_name'];
}