Ignore:
Timestamp:
15 Sep 2022, 16:49:06 (2 years ago)
Author:
Henrik Bettermann
Message:

Remove hardoced ict_entre_fee.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py

    r15386 r17102  
    6969        configuration.academic_session = 2005
    7070        self.app['configuration'].addSessionConfiguration(configuration)
    71         self.app['configuration']['2004'].ict_entre_fee = 170.0
    72         self.app['configuration']['2005'].ict_entre_fee = 180.0
     71        self.app['configuration']['2004'].ict_entre_fee = 4170.0
     72        self.app['configuration']['2005'].ict_entre_fee = 2180.0
    7373        error, payment = utils.setPaymentDetails('schoolfee',self.student)
    7474        self.assertEqual(error, u'Pay ICT fee(s) first.')
     
    7777        self.assertEqual(payment.p_level, 200)
    7878        self.assertEqual(payment.p_session, 2005)
    79         self.assertEqual(payment.amount_auth, 16000.0)
     79        self.assertEqual(payment.amount_auth, 2180.0)
    8080        payment.p_state = 'paid'
    8181        self.student['payments']['any_key'] = payment
     
    9191        self.assertEqual(payment.p_level, 100)
    9292        self.assertEqual(payment.p_session, 2004)
    93         self.assertEqual(payment.amount_auth, 16000.0)
     93        self.assertEqual(payment.amount_auth, 4170.0)
    9494        payment.p_state = 'paid'
    9595        self.student['payments']['any_key_2'] = payment
Note: See TracChangeset for help on using the changeset viewer.