SilverCommerce\TaxAdmin\Tests\TaxCategoryTest
Test functionality of postage extension
Synopsis
class TaxCategoryTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'TaxData.yml';
- protected static array $extra_dataobjects = ;
- // methods
- public void setUp()
- public void testValidTax()
- public void testGlobalValidTax()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $extra_dataobjects
—
array
Setup test only objects - $fixture_file
Methods
public
- setUp()
- testGlobalValidTax() — Test category valid tax returns the correct value when using the global flag.
- testValidTax() — Test category valid tax retursn the correct value