Skip to content
Snippets Groups Projects
Commit f212fd6f authored by Tim Rohaly's avatar Tim Rohaly
Browse files

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

parent ba8d9494
No related branches found
No related tags found
1 merge request!23Issue #3458062 by TR: Fix "call to undefined method" in D11 test case
Pipeline #211885 passed
...@@ -58,7 +58,7 @@ abstract class FormWidgetBrowserTestBase extends BrowserTestBase { ...@@ -58,7 +58,7 @@ abstract class FormWidgetBrowserTestBase extends BrowserTestBase {
public function testIsApplicable(): void { public function testIsApplicable(): void {
// Force any tests that extend this class to implement their own version // Force any tests that extend this class to implement their own version
// of this function and give a helpful explanation if it is missed. // 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 { ...@@ -66,7 +66,7 @@ abstract class FormWidgetBrowserTestBase extends BrowserTestBase {
* @covers ::extractFormValues * @covers ::extractFormValues
*/ */
public function testFormEditing(): void { 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 { ...@@ -74,7 +74,7 @@ abstract class FormWidgetBrowserTestBase extends BrowserTestBase {
* @covers ::flagViolations * @covers ::flagViolations
*/ */
public function testValidation(): void { 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__);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment