You are here

protected function WebformCivicrmTestBase::getUFMatchRecord in Webform CiviCRM Integration 8.5

Return UF Match record.

Parameters

int $ufID:

3 calls to WebformCivicrmTestBase::getUFMatchRecord()
ContactSubmissionTest::testStaticAndAutocompleteOnContactElement in tests/src/FunctionalJavascript/ContactSubmissionTest.php
Test contact submission using static and autocomplete widget.
ContactSubmissionTest::testStaticCurrentUser in tests/src/FunctionalJavascript/ContactSubmissionTest.php
Test Existing Contact Element configured as Current (logged-in) User
ExistingContactElementTest::addcontactinfo in tests/src/FunctionalJavascript/ExistingContactElementTest.php

File

tests/src/FunctionalJavascript/WebformCivicrmTestBase.php, line 288

Class

WebformCivicrmTestBase

Namespace

Drupal\Tests\webform_civicrm\FunctionalJavascript

Code

protected function getUFMatchRecord($ufID) {
  return $this->utils
    ->wf_civicrm_api('UFMatch', 'getsingle', [
    'uf_id' => $ufID,
  ]);
}