Changeset 23032


Ignore:
Timestamp:
2013/08/05 21:20:49 (11 years ago)
Author:
nanasess
Message:

#150 (ユニットテスト環境の整備)

  • 最近の改修で, テストが通らなかったのを修正
Location:
branches/version-2_13-dev/tests/class/helper
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/tests/class/helper/SC_Helper_Address/SC_Helper_Address_getAddressTest.php

    r22857 r23032  
    5555                'fax02' => '1111', 
    5656                'fax03' => '1111', 
    57                 'country_id' => null 
     57                'country_id' => null, 
     58                'company_name' => null, 
     59                'zipcode' => null 
    5860            ); 
    5961        $this->actual = $this->objAddress->getAddress($other_deliv_id); 
  • branches/version-2_13-dev/tests/class/helper/SC_Helper_Address/SC_Helper_Address_getListTest.php

    r22857 r23032  
    4545                'fax02' => '1111', 
    4646                'fax03' => '1111', 
    47                 'country_id' => null 
     47                'country_id' => null, 
     48                'company_name' => null, 
     49                'zipcode' => null 
    4850                  ) 
    4951 
     
    7779                'fax02' => '1111', 
    7880                'fax03' => '1111', 
    79                 'country_id' => null 
     81                'country_id' => null, 
     82                'company_name' => null, 
     83                'zipcode' => null 
    8084                  ), 
    8185            array( 
     
    97101                'fax02' => '1111', 
    98102                'fax03' => '1111', 
    99                 'country_id' => null 
     103                'country_id' => null, 
     104                'company_name' => null, 
     105                'zipcode' => null 
    100106                  ) 
    101107 
  • branches/version-2_13-dev/tests/class/helper/SC_Helper_Address/SC_Helper_Address_registAddressTest.php

    r22857 r23032  
    9898                'fax02' => '1113', 
    9999                'fax03' => '1114', 
    100                 'country_id' => null 
     100                'country_id' => null, 
     101                'company_name' => null, 
     102                'zipcode' => null 
    101103            ); 
    102104        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
  • branches/version-2_13-dev/tests/class/helper/SC_Helper_DB/SC_Helper_DB_sfGetBasisDataTest.php

    r22960 r23032  
    113113            'longitude' => '45.0001', 
    114114            'downloadable_days' => '10', 
    115             'downloadable_days_unlimited' => '0' 
     115            'downloadable_days_unlimited' => '0', 
     116            'zipcode' => null, 
     117            'law_zipcode' => null 
    116118        ); 
    117119        $this->actual = $this->helper->sfGetBasisData(true); 
     
    215217            'downloadable_days_unlimited' => '0', 
    216218            'country_id' => null, 
    217             'law_country_id' => null 
     219            'law_country_id' => null, 
     220            'zipcode' => null, 
     221            'law_zipcode' => null 
    218222        ); 
    219223        $this->actual = $this->helper->sfGetBasisData(false); 
  • branches/version-2_13-dev/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_copyFromCustomerTest.php

    r22857 r23032  
    114114      'customer_id' => '1001', 
    115115      'update_date' => 'CURRENT_TIMESTAMP', 
    116       'order_country_id' => '' 
     116      'order_country_id' => '', 
     117      'order_company_name' => '', 
     118      'order_zipcode' => '' 
    117119    ); 
    118120    $helper = new SC_Helper_Purchase(); 
  • branches/version-2_13-dev/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_registerOrderCompleteTest.php

    r22857 r23032  
    8585            'price' => '1000', 
    8686            'quantity' => '10', 
    87             'tax_rate' => '5', 
    88             'tax_rule' => '1' 
     87            'tax_rate' => null, 
     88            'tax_rule' => null, 
     89            'tax_adjuts' => null 
    8990          ) 
    9091        ) 
Note: See TracChangeset for help on using the changeset viewer.