@@ -17,8 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | use Cake\TestSuite\Fixture\TestFixture; |
| 19 | 19 | |
| 20 | -class ShopsFixture extends TestFixture |
|
| 21 | -{ |
|
| 20 | +class ShopsFixture extends TestFixture { |
|
| 22 | 21 | |
| 23 | 22 | public $fields = [ |
| 24 | 23 | 'id' => ['type' => 'integer', 'length' => 11], |
@@ -17,8 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | use Cake\TestSuite\Fixture\TestFixture; |
| 19 | 19 | |
| 20 | -class AccessTokensFixture extends TestFixture |
|
| 21 | -{ |
|
| 20 | +class AccessTokensFixture extends TestFixture { |
|
| 22 | 21 | |
| 23 | 22 | public $fields = [ |
| 24 | 23 | 'id' => ['type' => 'integer', 'length' => 10, 'null' => false], |
@@ -19,11 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | use Cake\TestSuite\TestCase; |
| 21 | 21 | |
| 22 | -class ShopifyAuthAuthenticateTest extends TestCase |
|
| 23 | -{ |
|
| 22 | +class ShopifyAuthAuthenticateTest extends TestCase { |
|
| 24 | 23 | |
| 25 | - public function setUp() |
|
| 26 | - { |
|
| 24 | + public function setUp() { |
|
| 27 | 25 | parent::setUp(); |
| 28 | 26 | } |
| 29 | 27 | } |
@@ -19,13 +19,11 @@ |
||
| 19 | 19 | |
| 20 | 20 | use Cake\TestSuite\TestCase; |
| 21 | 21 | |
| 22 | -class ShopsTableTest extends TestCase |
|
| 23 | -{ |
|
| 22 | +class ShopsTableTest extends TestCase { |
|
| 24 | 23 | |
| 25 | 24 | public $fixtures = ['plugin.Multidimensional/Shopify.Shops']; |
| 26 | 25 | |
| 27 | - public function setUp() |
|
| 28 | - { |
|
| 26 | + public function setUp() { |
|
| 29 | 27 | parent::setUp(); |
| 30 | 28 | } |
| 31 | 29 | } |
@@ -19,13 +19,11 @@ |
||
| 19 | 19 | |
| 20 | 20 | use Cake\TestSuite\TestCase; |
| 21 | 21 | |
| 22 | -class AccessTokensTableTest extends TestCase |
|
| 23 | -{ |
|
| 22 | +class AccessTokensTableTest extends TestCase { |
|
| 24 | 23 | |
| 25 | 24 | public $fixtures = ['plugin.Multidimensional/Shopify.AccessTokens']; |
| 26 | 25 | |
| 27 | - public function setUp() |
|
| 28 | - { |
|
| 26 | + public function setUp() { |
|
| 29 | 27 | parent::setUp(); |
| 30 | 28 | } |
| 31 | 29 | } |
@@ -19,11 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | use Cake\TestSuite\TestCase; |
| 21 | 21 | |
| 22 | -class TableHelperTest extends TestCase |
|
| 23 | -{ |
|
| 22 | +class TableHelperTest extends TestCase { |
|
| 24 | 23 | |
| 25 | - public function setUp() |
|
| 26 | - { |
|
| 24 | + public function setUp() { |
|
| 27 | 25 | parent::setUp(); |
| 28 | 26 | } |
| 29 | 27 | } |
@@ -19,11 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | use Cake\TestSuite\TestCase; |
| 21 | 21 | |
| 22 | -class HeaderHelperTest extends TestCase |
|
| 23 | -{ |
|
| 22 | +class HeaderHelperTest extends TestCase { |
|
| 24 | 23 | |
| 25 | - public function setUp() |
|
| 26 | - { |
|
| 24 | + public function setUp() { |
|
| 27 | 25 | parent::setUp(); |
| 28 | 26 | } |
| 29 | 27 | } |
@@ -19,11 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | use Cake\TestSuite\TestCase; |
| 21 | 21 | |
| 22 | -class ShopifyInstallShellTest extends TestCase |
|
| 23 | -{ |
|
| 22 | +class ShopifyInstallShellTest extends TestCase { |
|
| 24 | 23 | |
| 25 | - public function setUp() |
|
| 26 | - { |
|
| 24 | + public function setUp() { |
|
| 27 | 25 | parent::setUp(); |
| 28 | 26 | } |
| 29 | 27 | } |
@@ -19,19 +19,16 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | use Cake\TestSuite\IntegrationTestCase; |
| 21 | 21 | |
| 22 | -class InstallControllerTest extends IntegrationTestCase |
|
| 23 | -{ |
|
| 22 | +class InstallControllerTest extends IntegrationTestCase { |
|
| 24 | 23 | |
| 25 | 24 | public $fixtures = ['plugin.Multidimensional/Shopify.Shops', |
| 26 | 25 | 'plugin.Multidimensional/Shopify.AccessTokens']; |
| 27 | 26 | |
| 28 | - public function setUp() |
|
| 29 | - { |
|
| 27 | + public function setUp() { |
|
| 30 | 28 | parent::setUp(); |
| 31 | 29 | } |
| 32 | 30 | |
| 33 | - public function testValidate() |
|
| 34 | - { |
|
| 31 | + public function testValidate() { |
|
| 35 | 32 | $this->markTestIncomplete('Not implemented yet.'); |
| 36 | 33 | /*$this->get('/shopify/install/'); |
| 37 | 34 | $this->assertResponseOk(); |
@@ -39,15 +36,13 @@ discard block |
||
| 39 | 36 | $this->assertResponseError();*/ |
| 40 | 37 | } |
| 41 | 38 | |
| 42 | - public function testIndex() |
|
| 43 | - { |
|
| 39 | + public function testIndex() { |
|
| 44 | 40 | $this->markTestIncomplete('Not implemented yet.'); |
| 45 | 41 | /*$this->get('/shopify/install/'); |
| 46 | 42 | $this->assertResponseOk();*/ |
| 47 | 43 | } |
| 48 | 44 | |
| 49 | - public function testRedirect() |
|
| 50 | - { |
|
| 45 | + public function testRedirect() { |
|
| 51 | 46 | $this->markTestIncomplete('Not implemented yet.'); |
| 52 | 47 | } |
| 53 | 48 | } |