SilverStripe\Omnipay\Tests\PayableTest
Synopsis
class PayableTest
extends SapphireTest
{
- // members
- protected $order;
- protected static string $fixture_file = 'PayableTest.yml';
- protected static array $extra_dataobjects = ;
- protected static array $required_extensions = ;
- // methods
- public void setUp()
- public void testRelation()
- public void testPaidAmounts()
- public void testPendingPayments()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $extra_dataobjects
- $fixture_file
- $order
- $required_extensions
Methods
public
- setUp()
- testPaidAmounts() — Test the total paid amount
- testPendingPayments() — Test pending payment check
- testRelation() — Test if the relation from Order to the Payments is correctly established