PHPUNIT : adapt 12.3

This commit is contained in:
sparkyx 2025-09-15 22:50:03 +02:00
parent 9ebb89b38a
commit 8dca7f0866
32 changed files with 123 additions and 345 deletions

View file

@ -1,6 +1,6 @@
<?php
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\Attributes\DataProvider;
/**
* Generated by PHPUnit_SkeletonGenerator on 2014-10-31 at 20:33:23.
*/
@ -29,7 +29,7 @@ class Acc_ComputeTest extends TestCase
{
}
public function dataGet_parameter()
public static function dataGet_parameter()
{
return array( array('amount'),
array('amount_vat'),
@ -51,6 +51,7 @@ class Acc_ComputeTest extends TestCase
* @todo Implement testGet_parameter().
* @dataProvider dataGet_parameter
*/
#[DataProvider('dataGet_parameter')]
public function testGet_parameter($data)
{
$result=$data;