You are here

function WebformAutofillAttributeTestCase::getTestAttribute in Webform Autofill Attribute 7

Returns the attribute we are using to test against.

Return value

string The value for the attribute.

2 calls to WebformAutofillAttributeTestCase::getTestAttribute()
WebformAutofillAttributeTestCase::testWebformComponents in tests/webform_autofill_attribute.test
Overrides the testWebformComponents function in webform.test with our needed component.
WebformAutofillAttributeTestCase::testWebformFormAutofillAttribute in tests/webform_autofill_attribute.test
Test that the autocomplete attribute is correctly added to our component.

File

tests/webform_autofill_attribute.test, line 39

Class

WebformAutofillAttributeTestCase

Code

function getTestAttribute() {
  return 'fname';
}