public function OrganizationUiTest::assertOrganizationTypeLink in CRM Core 8.2
Same name and namespace in other branches
- 8 modules/crm_core_contact/src/Tests/OrganizationUiTest.php \Drupal\crm_core_contact\Tests\OrganizationUiTest::assertOrganizationTypeLink()
Asserts an organization type link.
The path 'admin/structure/crm-core/organization-types/' gets prepended to the path provided.
See also
WebTestBase::assertLinkByHref()
1 call to OrganizationUiTest::assertOrganizationTypeLink()
- 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 293
Class
- OrganizationUiTest
- Tests the UI for Organization CRUD operations.
Namespace
Drupal\crm_core_contact\TestsCode
public function assertOrganizationTypeLink($href, $message = '') {
$this
->assertLinkByHref('admin/structure/crm-core/organization-types/' . $href, 0, $message);
}