Ignore:
Timestamp:
2012/12/25 22:47:45 (11 years ago)
Author:
shift_hiroko.tamagawa
Message:

MySQL/PostgreSQLエラー修正、テストケース追加

Location:
branches/version-2_12-dev/tests/class
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_TestBase.php

    r22142 r22158  
    7070        'shipping_name01' => '配送情報02', 
    7171        'shipping_date' => '2011-10-01' 
     72      ), 
     73      array( 
     74        'shipping_id' => '1002', 
     75        'order_id' => '1002', 
     76        'shipping_time' => '午後', 
     77        'time_id' => '1' 
    7278      ) 
    7379    ); 
     
    242248       'name' => '配送業者del', 
    243249       'rank' => '1', 
     250       'creator_id' => '1', 
    244251       'del_flg' => '1' 
    245252     ), 
     
    248255       'product_type_id' => '1001', 
    249256       'name' => '配送業者01', 
     257       'creator_id' => '1', 
    250258       'rank' => '2' 
    251259     ), 
     
    254262       'product_type_id' => '1001', 
    255263       'name' => '配送業者02', 
     264       'creator_id' => '1', 
    256265       'rank' => '3' 
    257266     ), 
     
    260269       'product_type_id' => '2001', 
    261270       'name' => '配送業者21', 
     271       'creator_id' => '1', 
    262272       'rank' => '4' 
    263273     ), 
     
    361371        'order_id' => '1002', 
    362372        'customer_id' => '1002', 
    363         'order_name01' => '受注情報02' 
     373        'order_name01' => '受注情報02', 
     374        'payment_id' => '1002', 
     375        'payment_method' => '支払方法1001', 
     376        'deliv_id' => '1002' 
    364377      ) 
    365378    ); 
     
    383396        'order_temp_id' => '1002', 
    384397        'customer_id' => '1002', 
    385         'order_name01' => '受注情報02' 
     398        'order_name01' => '受注情報02', 
     399        'payment_id' => '1002', 
     400        'payment_method' => '支払方法1001' 
    386401      ) 
    387402    ); 
  • branches/version-2_12-dev/tests/class/test/util/User_Utils.php

    r22145 r22158  
    3232    $_SESSION['customer']['customer_id'] = $customer['customer_id']; 
    3333    $_SESSION['customer']['email'] = $customer['email']; 
     34//    $objQuery->delete('dtb_customer', 'customer_id = ?', array($customer['customer_id'])); 
    3435    $objQuery->insert('dtb_customer', $customer); 
    3536  } 
Note: See TracChangeset for help on using the changeset viewer.