You are here

function FusionApplyUIPluginViewsTestCase::testViews in Fusion Accelerator 7.2

Same name and namespace in other branches
  1. 7 fusion_apply/tests/fusion_apply_ui.test \FusionApplyUIPluginViewsTestCase::testViews()

Tests views plugin.

File

fusion_apply/tests/fusion_apply_ui.test, line 632
Tests for the Fusion Apply UI module.

Class

FusionApplyUIPluginViewsTestCase
Tests UI functionality for Block plugin.

Code

function testViews() {

  // Go to the view's page.
  $this
    ->drupalGet('fusion_apply-ui-test-view');

  // Make sure our contextual link appears on the page.
  $this
    ->assertLinkByHref('admin/appearance/fusion/edit/nojs/views/fusion_apply_ui_test__page/configure', 0, "Contexual link to edit view's skin configuration was found.");
}