You are here

public function ViewModePageTestCase::assertPattern in View Mode Page 7.2

Same name and namespace in other branches
  1. 8.2 view_mode_page.test \ViewModePageTestCase::assertPattern()

Assert that a pattern exists as we intended

Overrides DrupalWebTestCase::assertPattern

1 call to ViewModePageTestCase::assertPattern()
ViewModePageTestCase::testAddPattern in ./view_mode_page.test
Test adding a pattern with the non-entity based function

File

./view_mode_page.test, line 55

Class

ViewModePageTestCase
Tests

Code

public function assertPattern($content_type, $view_mode, $url_pattern, $show_title = FALSE, $title = '') {
  $this
    ->assertEntityPattern('node', $content_type, $view_mode, $url_pattern, $show_title, $title);
}