@@ -163,9 +163,9 @@ |
||
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
166 | - * checks if the country has a distributor |
|
167 | - * and returns the primary country for the distributor. |
|
168 | - * If not, returns the defaulf country. |
|
166 | + * checks if the country has a distributor |
|
167 | + * and returns the primary country for the distributor. |
|
168 | + * If not, returns the defaulf country. |
|
169 | 169 | * |
170 | 170 | * @return EcommerceCountry |
171 | 171 | * |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | class EcommerceCountriesTest extends SapphireTest { |
3 | 3 | |
4 | - protected $usesDatabase = false; |
|
4 | + protected $usesDatabase = false; |
|
5 | 5 | |
6 | - protected $requiredExtensions = array(); |
|
6 | + protected $requiredExtensions = array(); |
|
7 | 7 | |
8 | - public function testMyMethod() { |
|
9 | - $this->assertEquals(1, 1); |
|
10 | - } |
|
8 | + public function testMyMethod() { |
|
9 | + $this->assertEquals(1, 1); |
|
10 | + } |
|
11 | 11 | |
12 | 12 | } |
13 | 13 |
@@ -148,7 +148,7 @@ |
||
148 | 148 | 'Root.Country', |
149 | 149 | DropdownField::create( |
150 | 150 | 'DistributorID', |
151 | - _t('Distributor.SINGULAR_NAME', 'Distributor'), |
|
151 | + _t('Distributor.SINGULAR_NAME', 'Distributor'), |
|
152 | 152 | array(''=> '--- Please select ---') + Distributor::get()->map()->toArray() |
153 | 153 | ) |
154 | 154 | ); |