Skip to content

Commit

Permalink
fix Coding Style
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuhiko committed May 5, 2015
1 parent e3db2dd commit 38443b3
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 23 deletions.
6 changes: 3 additions & 3 deletions tests/Eccube/Tests/Web/AbstractWebTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
abstract class AbstractWebTestCase extends WebTestCase
{

protected $client = NULL;
static protected $server = NULL;
protected $client = null;
protected static $server = null;

public function setUp()
{
Expand All @@ -33,7 +33,7 @@ public function tearDown()

public static function tearDownAfterClass()
{
self::$server = NULL;
self::$server = null;
}

/**
Expand Down
3 changes: 0 additions & 3 deletions tests/Eccube/Tests/Web/Admin/Basis/TaxRuleControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ class TaxRuleControllerTest extends AbstractAdminWebTestCase
public function test_routeing_AdminBasisTax_index()
{


$this->client->request('GET', $this->app['url_generator']->generate('admin_basis_tax_rule'));
$this->assertTrue($this->client->getResponse()->isSuccessful());
}

public function test_routeing_AdminBasisTax_edit()
{


$this->client->request('GET', $this->app['url_generator']
->generate('admin_basis_tax_rule_edit', array('tax_rule_id' => 0))
);
Expand All @@ -28,7 +26,6 @@ public function test_routeing_AdminBasisTax_edit()
public function test_routeing_AdminBasisTax_delete()
{


$redirectUrl = $this->app['url_generator']->generate('admin_basis_tax_rule');

$this->client->request('GET', $this->app['url_generator']
Expand Down
7 changes: 0 additions & 7 deletions tests/Eccube/Tests/Web/Admin/Content/BlockControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class BlockControllerTest extends AbstractAdminWebTestCase
public function test_routeing_AdminContentBlock_index()
{


$this->client->request('GET', $this->app['url_generator']->generate('admin_content_block'));
$this->assertTrue($this->client->getResponse()->isSuccessful());
}
Expand All @@ -20,8 +19,6 @@ public function test_routeing_AdminContentBlock_edit()
// TODO: テンプレートファイルの参照等がconstant.yml.distで定まらずCIで落ちるためスキップ
self::markTestSkipped();



$this->client->request('GET',
$this->app['url_generator']
->generate('admin_content_block_edit',
Expand All @@ -34,8 +31,6 @@ public function test_routeing_AdminContentBlock_editWithDevice()
// TODO: テンプレートファイルの参照等がconstant.yml.distで定まらずCIで落ちるためスキップ
self::markTestSkipped();



$this->client->request('GET',
$this->app['url_generator']
->generate('admin_content_block_edit_withDevice',
Expand All @@ -46,7 +41,6 @@ public function test_routeing_AdminContentBlock_editWithDevice()
public function test_routeing_AdminContentBlock_delete()
{


$redirectUrl = $this->app['url_generator']->generate('admin_content_block');

$this->client->request('GET',
Expand All @@ -62,7 +56,6 @@ public function test_routeing_AdminContentBlock_delete()
public function test_routeing_AdminContentBlock_deleteWithDevice()
{


$redirectUrl = $this->app['url_generator']->generate('admin_content_block');

$this->client->request('GET',
Expand Down
7 changes: 0 additions & 7 deletions tests/Eccube/Tests/Web/Admin/Content/PageControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class PageControllerTest extends AbstractAdminWebTestCase
public function test_routeing_AdminContentPage_index()
{


$this->client->request('GET', $this->app['url_generator']->generate('admin_content_page'));
$this->assertTrue($this->client->getResponse()->isSuccessful());
}
Expand All @@ -20,8 +19,6 @@ public function test_routeing_AdminContentPage_edit()
// TODO: テンプレートファイルの参照等がconstant.yml.distで定まらずCIで落ちるためスキップ
self::markTestSkipped();



$this->client->request('GET',
$this->app['url_generator']
->generate('admin_content_page_edit',
Expand All @@ -34,8 +31,6 @@ public function test_routeing_AdminContentPage_editWithDevice()
// TODO: テンプレートファイルの参照等がconstant.yml.distで定まらずCIで落ちるためスキップ
self::markTestSkipped();



$this->client->request('GET',
$this->app['url_generator']
->generate('admin_content_page_edit_withDevice',
Expand All @@ -46,7 +41,6 @@ public function test_routeing_AdminContentPage_editWithDevice()
public function test_routeing_AdminContentPage_delete()
{


$redirectUrl = $this->app['url_generator']->generate('admin_content_page');

$this->client->request('GET',
Expand All @@ -62,7 +56,6 @@ public function test_routeing_AdminContentPage_delete()
public function test_routeing_AdminContentPage_deleteWithDevice()
{


$redirectUrl = $this->app['url_generator']->generate('admin_content_page');

$this->client->request('GET',
Expand Down
2 changes: 1 addition & 1 deletion tests/Eccube/Tests/Web/Admin/Order/EditControllerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Eccube\Tests\Web\Order;
namespace Eccube\Tests\Web\Admin\Order;

use Eccube\Tests\Web\Admin\AbstractAdminWebTestCase;

Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
$loader = require __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../app/config/eccube/config.php';

$loader->add('Eccube\Tests', __DIR__);
$loader->add('Eccube\Tests', __DIR__);
2 changes: 1 addition & 1 deletion tests/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
</ruleset>
</ruleset>

0 comments on commit 38443b3

Please sign in to comment.