You are here

public function OrganizationUiTest::assertNoOrganizationTypeLink in CRM Core 8

Same name and namespace in other branches
  1. 8.2 modules/crm_core_contact/src/Tests/OrganizationUiTest.php \Drupal\crm_core_contact\Tests\OrganizationUiTest::assertNoOrganizationTypeLink()

Asserts no organization type link.

The path 'admin/structure/crm-core/organization-types/' gets prepended to the path provided.

See also

WebTestBase::assertNoLinkByHref()

1 call to OrganizationUiTest::assertNoOrganizationTypeLink()
OrganizationUiTest::testOrganizationTypeOperations in modules/crm_core_contact/src/Tests/OrganizationUiTest.php
Tests the organization type operations.

File

modules/crm_core_contact/src/Tests/OrganizationUiTest.php, line 305

Class

OrganizationUiTest
Tests the UI for Organization CRUD operations.

Namespace

Drupal\crm_core_contact\Tests

Code

public function assertNoOrganizationTypeLink($href, $message = '') {
  $this
    ->assertNoLinkByHref('admin/structure/crm-core/organization-types/' . $href, $message);
}