You are here

function i18nPathTestCase::checkTranslationLink in Internationalization 7

1 call to i18nPathTestCase::checkTranslationLink()
i18nPathTestCase::testPathTranslation in i18n_path/i18n_path.test

File

i18n_path/i18n_path.test, line 21
Test case for multilingual menus.

Class

i18nPathTestCase
@file Test case for multilingual menus.

Code

function checkTranslationLink($path, $language, $method = 'assertRaw') {
  $this
    ->{$method}($path, t('Found translation link. :language - :path', array(
    ':language' => $language,
    ':path' => $path,
  )));
}