Skip to content
Snippets Groups Projects

Issue #3458062 by TR: Fix "call to undefined method" in D11 test case

Merged Tim Rohaly requested to merge issue/typed_data-3458062:3458062-fix-call-to into 2.1.x
@@ -58,7 +58,7 @@ abstract class FormWidgetBrowserTestBase extends BrowserTestBase {
public function testIsApplicable(): void {
// Force any tests that extend this class to implement their own version
// of this function and give a helpful explanation if it is missed.
$this->fail('There is no implementation of the mandatory test function: ' . $this->getName());
$this->fail('There is no implementation of the mandatory test function: ' . __METHOD__);
}
/**
@@ -66,7 +66,7 @@ abstract class FormWidgetBrowserTestBase extends BrowserTestBase {
* @covers ::extractFormValues
*/
public function testFormEditing(): void {
$this->fail('There is no implementation of the mandatory test function: ' . $this->getName());
$this->fail('There is no implementation of the mandatory test function: ' . __METHOD__);
}
/**
@@ -74,7 +74,7 @@ abstract class FormWidgetBrowserTestBase extends BrowserTestBase {
* @covers ::flagViolations
*/
public function testValidation(): void {
$this->fail('There is no implementation of the mandatory test function: ' . $this->getName());
$this->fail('There is no implementation of the mandatory test function: ' . __METHOD__);
}
}
Loading