Skip to content
Snippets Groups Projects
Commit 1b0aca11 authored by Project-Update-bot's avatar Project-Update-bot
Browse files

Automated Project Update Bot fixes from run 11-199781.

parent 71617ab8
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ class FormCalculationElementTest extends UnitTestCase {
/**
* Provides data for the testgetFieldsFromExpression method.
*/
public function getFieldsFromExpressionDataProvider() {
public static function getFieldsFromExpressionDataProvider() {
return [
// Test simple math expressions.
[':field1 + :field2', ['field1', 'field2']],
......@@ -60,7 +60,7 @@ class FormCalculationElementTest extends UnitTestCase {
/**
* Provide test for testBuildExpression.
*/
public function buildExpressionDataProvider() {
public static function buildExpressionDataProvider() {
return [
[':field1 + :field2', ['field1' => 1, 'field2' => 2], '1 + 2'],
[':field1 * :field2', ['field1' => 1, 'field2' => 2], '1 * 2'],
......
......@@ -13,7 +13,7 @@ class FormCalculationMarkupElementTest extends UnitTestCase {
/**
* Test expressions built with markup elements.
*
* @dataProvider testExtractEvaluationDataProvider
* @dataProvider extractEvaluationDataProvider
*/
public function testExtractEvaluation($expression, $expected) {
$result = FormCalculationMarkupElement::extractEvaluation([
......@@ -26,7 +26,7 @@ class FormCalculationMarkupElementTest extends UnitTestCase {
/**
* Data provider to text extract evaluation.
*/
public function testExtractEvaluationDataProvider() {
public static function extractEvaluationDataProvider() {
return [
[
'<h3>You account amount is: {{ :result }}</h3>',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment