バージョン選択

フォーラム

メニュー

オンライン状況

208 人のユーザが現在オンラインです。 (197 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 208
もっと...

サイト内検索

質問 > その他 > PHPUnitの実行について

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
suruseas
投稿日時: 2013/5/21 18:41
対応状況: −−−
半人前
登録日: 2013/5/8
居住地:
投稿: 21
Re: PHPUnitの実行について
返信が遅くなりまして申し訳ございません。

修正したところ、以下2カ所エラーが発生します。
消費税計算が絡んでいると思いますのでおそらくここも修正しなければならないと思われましたのでご報告致します。


SC_Helper_Purchase_setShipmentItemTempTest::testSetShipmentItemTemp_製品情報が既に存在する場合_存在する情報が価格に反映される
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     'shipping_id' => '1001'
     'product_class_id' => '1001'
     'quantity' => 10
     'price' => 9000
-    'total_inctax' => 94500.0
+    'total_inctax' => 90000.0
     'productsClass' => Array (...)
 )

tests/class/Common_TestCase.php:41
tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_setShipmentItemTempTest.php:66



SC_Helper_Purchase_setShipmentItemTempTest::testSetShipmentItemTemp_製品情報が存在しない場合_DBから取得した値が反映される
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     'shipping_id' => '1001'
     'product_class_id' => '1002'
     'quantity' => 10
     'price' => '2500'
-    'total_inctax' => 26250.0
+    'total_inctax' => 25000.0
 )

tests/class/Common_TestCase.php:41
tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_setShipmentItemTempTest.php:83


ただ修正をご提示していただいたおかげで、既存テストがすべて通るようになってより安心できるようになりました。ご対応ありがとうございます!
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   PHPUnitの実行について suruseas 2013/5/8 17:40
     Re: PHPUnitの実行について suruseas 2013/5/8 17:44
     Re: PHPUnitの実行について suruseas 2013/5/8 19:36
       Re: PHPUnitの実行について nanasess 2013/5/8 20:05
         Re: PHPUnitの実行について suruseas 2013/5/8 20:34
           Re: PHPUnitの実行について nanasess 2013/5/8 21:18
             Re: PHPUnitの実行について suruseas 2013/5/8 23:01
     Re: PHPUnitの実行について suruseas 2013/5/10 10:32
       Re: PHPUnitの実行について nanasess 2013/5/10 10:39
         Re: PHPUnitの実行について suruseas 2013/5/10 16:05
           Re: PHPUnitの実行について nanasess 2013/5/10 17:06
             Re: PHPUnitの実行について suruseas 2013/5/10 17:14
           Re: PHPUnitの実行について suruseas 2013/5/10 17:08
           Re: PHPUnitの実行について red 2013/5/10 17:25
             Re: PHPUnitの実行について seasoft 2013/5/10 17:30
               Re: PHPUnitの実行について suruseas 2013/5/10 18:10
                 Re: PHPUnitの実行について nanasess 2013/5/10 18:50
                   Re: PHPUnitの実行について seasoft 2013/5/10 19:00
                   Re: PHPUnitの実行について red 2013/5/10 19:10
                   Re: PHPUnitの実行について suruseas 2013/5/13 13:53
             Re: PHPUnitの実行について suruseas 2013/5/10 18:04
               Re: PHPUnitの実行について red 2013/5/10 19:09
                 Re: PHPUnitの実行について red 2013/5/10 19:13
                   Re: PHPUnitの実行について suruseas 2013/5/13 13:35
                     Re: PHPUnitの実行について suruseas 2013/5/13 14:13
                       Re: PHPUnitの実行について suruseas 2013/5/14 16:55
                         Re: PHPUnitの実行について nanasess 2013/5/17 19:10
                         » Re: PHPUnitの実行について suruseas 2013/5/21 18:41

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は90,170名です
総投稿数は110,324件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1682
8
red
1571
9
mcontact
1351
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.