| 1 | <?php |
||
| 3 | class DistanceShippingMethodTest extends SapphireTest{ |
||
| 4 | |||
| 5 | protected static $fixture_file = array( |
||
| 6 | 'silvershop-shipping/tests/fixtures/DistanceShippingMethod.yml', |
||
| 7 | 'silvershop-shipping/tests/fixtures/Warehouses.yml' |
||
| 8 | ); |
||
| 9 | |||
| 10 | function testDistanceFare() { |
||
| 21 | |||
| 22 | function testCalculateRates() { |
||
| 37 | |||
| 38 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.