PHPUNIT : adapt 12.3
This commit is contained in:
parent
9ebb89b38a
commit
8dca7f0866
32 changed files with 123 additions and 345 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-02-13 at 00:41:50.
|
||||
* @backupGlobals enabled
|
||||
|
|
@ -93,7 +94,7 @@ class Acc_OperationTest extends TestCase
|
|||
* provide data for testAmount_Currency
|
||||
* @return type
|
||||
*/
|
||||
public function data_amount_currency()
|
||||
public static function data_amount_currency()
|
||||
{
|
||||
return array(
|
||||
/* sale */
|
||||
|
|
@ -118,6 +119,7 @@ class Acc_OperationTest extends TestCase
|
|||
* @covers Acc_Operation::get_amount_currency
|
||||
* @dataProvider data_amount_currency
|
||||
*/
|
||||
#[DataProvider('data_amount_currency')]
|
||||
function testGet_AmountCurrency($p_jrn_id,$p_amount_currency)
|
||||
{
|
||||
global $g_connection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue