Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | function testGetRate() |
||
47 | { |
||
48 | $object = new Intraface_modules_currency_Currency_ExchangeRate; |
||
49 | $object->used_for_key = 1; |
||
50 | $object->setRate(new Ilib_Variable_Float('745,23', 'da_dk')); |
||
51 | $object->setCurrency($this->createCurrency()); |
||
52 | $object->save(); |
||
53 | |||
54 | $object = Doctrine::getTable('Intraface_modules_currency_Currency_ExchangeRate')->find(1); |
||
55 | $this->assertEquals('745,23', $object->getRate()->getAsLocal('da_dk')); |
||
56 | } |
||
57 | } |
||
58 |
This check marks private properties in classes that are never used. Those properties can be removed.