You are here

public function HiddenLanguageBaseTestCase::get in Hidden Language 7

Retrieves a Drupal path or an absolute path with language.

1 call to HiddenLanguageBaseTestCase::get()
HiddenLanguageAccessTest::testAccess in ./hidden_language.test

File

./hidden_language.test, line 136
Tests for Hidden Language module.

Class

HiddenLanguageBaseTestCase
Base class for Hidden Language module tests.

Code

public function get($language, $path = '', array $options = array(), array $headers = array()) {
  $options['language'] = $this
    ->getLanguage($language);
  return $this
    ->drupalGet($path, $options, $headers);
}