Ticket #115 (new defect)

Opened 4 months ago

Unit Tests are outdated

Reported by: gramlich@eosc.de Assigned to: pmjones
Priority: major Component: tests
Keywords: Cc:

Description

Hello Paul,

I just installed Solar from the PEAR channel to give it a try.

I first tried to run the tests in /PathToPear/tests/Solar/tests by calling

phpunit AllTests.php

Solar/ContentTest.php requires 'Solar/Content.php' which does not exist. Actually I don't know if there is any replacement for Solar_Content. All methods seem to be provided by Solar_Base already.

So I removed Solar/ContentTest.php and the next problem was in Solar/Form/Load/TableTest.php(7): Solar::autoload('Solar_Sql_Table')

I found that Solar_Sql_Table now is Solar_Sql_Model

Is there any sense in attempting to adapt the tests myself?

For these two classes, there are still docs: http://solarphp.com/class/Solar_Content and http://solarphp.com/class/Solar_Sql_Table

Best Regards, Gregor

Attachments


Add/Change #115 (Unit Tests are outdated)