Failed Conditions
Pull Request — experimental/sf (#29)
by Kentaro
50:12 queued 39:05
created
codeception/acceptance/EA04OrderCest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -162,9 +162,9 @@  discard block
 block discarded – undo
162 162
         // 削除
163 163
         $OrderNumForDel = $OrderListPage->一覧_注文番号(1);
164 164
         $OrderListPage
165
-          ->一覧_選択(1)
166
-          ->一覧_削除()
167
-          ->Accept_削除();
165
+            ->一覧_選択(1)
166
+            ->一覧_削除()
167
+            ->Accept_削除();
168 168
 
169 169
         $I->see('受注情報を削除しました', ['css' => '#page_admin_order > div > div.c-contentsArea > div.alert.alert-success.alert-dismissible.fade.show.m-3 > span']);
170 170
         $I->assertNotEquals($OrderNumForDel, $OrderListPage->一覧_注文番号(1));
@@ -172,9 +172,9 @@  discard block
 block discarded – undo
172 172
         // 削除キャンセル
173 173
         $OrderNumForDontDel = $OrderListPage->一覧_注文番号(1);
174 174
         $OrderListPage
175
-          ->一覧_選択(1)
176
-          ->一覧_削除()
177
-          ->Cancel_削除();
175
+            ->一覧_選択(1)
176
+            ->一覧_削除()
177
+            ->Cancel_削除();
178 178
 
179 179
         $I->assertEquals($OrderNumForDontDel, $OrderListPage->一覧_注文番号(1));
180 180
     }
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/OrderItemType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
 use Symfony\Component\Form\FormBuilderInterface;
36 36
 use Symfony\Component\Form\FormEvent;
37 37
 use Symfony\Component\Form\FormEvents;
38
-use Symfony\Component\HttpFoundation\RequestStack;
39 38
 use Symfony\Component\OptionsResolver\OptionsResolver;
40 39
 use Symfony\Component\Validator\Constraints as Assert;
41 40
 
Please login to merge, or discard this patch.
codeception/acceptance/EA03ProductCest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,13 @@
 block discarded – undo
3 3
 use Codeception\Util\Fixtures;
4 4
 use Page\Admin\CategoryCsvUploadPage;
5 5
 use Page\Admin\CategoryManagePage;
6
-use Page\Admin\CsvSettingsPage;
7 6
 use Page\Admin\ClassCategoryManagePage;
8 7
 use Page\Admin\ClassNameManagePage;
8
+use Page\Admin\CsvSettingsPage;
9 9
 use Page\Admin\ProductClassEditPage;
10 10
 use Page\Admin\ProductCsvUploadPage;
11
-use Page\Admin\ProductManagePage;
12 11
 use Page\Admin\ProductEditPage;
12
+use Page\Admin\ProductManagePage;
13 13
 
14 14
 /**
15 15
  * @group admin
Please login to merge, or discard this patch.
codeception/acceptance/EA09ShippingCest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 use Codeception\Util\Fixtures;
4 4
 use Eccube\Entity\Customer;
5
-use Eccube\Entity\Order;
6 5
 use Eccube\Entity\Master\OrderStatus;
6
+use Eccube\Entity\Order;
7 7
 use Page\Admin\OrderEditPage;
8 8
 use Page\Admin\OrderManagePage;
9 9
 use Page\Admin\ShippingCsvUploadPage;
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/ProductManagePage.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,8 +150,8 @@
 block discarded – undo
150 150
      */
151 151
     public function 検索結果_削除($rowNum)
152 152
     {
153
-      $this->tester->click("#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(3) > a");
154
-      return $this;
153
+        $this->tester->click("#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(3) > a");
154
+        return $this;
155 155
     }
156 156
 
157 157
     public function Accept_重複する($rowNum)
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/ShippingEditPage.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,6 +169,6 @@
 block discarded – undo
169 169
     {
170 170
         $this->tester->scrollTo(['id' => 'shipmentOverview_'.$num], 0, 50);
171 171
         $this->tester->see((new \DateTime())->format('Y/m/d'),
172
-                           '#shipmentOverview_'.$num.' > div > div:nth-child(4) > div:nth-child(2) > div:nth-child(3) > div > span');
172
+                            '#shipmentOverview_'.$num.' > div > div:nth-child(4) > div:nth-child(2) > div:nth-child(3) > div > span');
173 173
     }
174 174
 }
Please login to merge, or discard this patch.