You are here

public function SearchByPageTester::searchPerm in Search by Page 6

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

Returns the permission name to search the given search environment.

14 calls to SearchByPageTester::searchPerm()
SearchByPageAttachCCKTest::setUpUsers in tests/search_by_page.test
Sets up superuser and low-privilege user.
SearchByPageAttachUploadsTest::setUpUsers in tests/search_by_page.test
Sets up superuser and low-privilege user.
SearchByPageEnvironmentTest::setUp in tests/search_by_page.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchByPageIntlTest::setUp in tests/search_by_page.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchByPageNodesReindexTest::setUp in tests/search_by_page.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…

... See full list

File

tests/search_by_page.test, line 168
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'];
}