You are here

public function FacetapiTestCase::facetapiIssueMessage in Facet API 7

Same name and namespace in other branches
  1. 7.2 tests/facetapi.test \FacetapiTestCase::facetapiIssueMessage()

Sets debug message flagging which issue was just tested.

Parameters

string $issue: The URL to the issue on Drupal.org.

3 calls to FacetapiTestCase::facetapiIssueMessage()
CurrentSearchBugFixTestCase::testMultipleBlocks in contrib/current_search/tests/current_search.test
Tests bug fixed at http://drupal.org/node/1668980.
FacetapiBugFixTestCase::testEnableFacetWithColon in tests/facetapi.test
Tests bug fixed at http://drupal.org/node/1209490.
FacetapiBugFixTestCase::testValidDefaults in tests/facetapi.test
Tests bug fixed at http://drupal.org/node/1443340.

File

tests/facetapi.test, line 135
Tests for the Facet API module.

Class

FacetapiTestCase
Base class for all Facet API test cases.

Code

public function facetapiIssueMessage($issue) {
  $href = check_plain($issue);
  $link = '<a href="' . $href . '">' . $href . '</a>';
  $this
    ->pass(t('Tested issue !link', array(
    '!link' => $link,
  )), 'Debug');
}