View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002203 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2010-11-09 14:14 | 2010-11-29 10:40 |
Reporter | dominik_ziegler | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Product Version | 4.4.4 revision 30554 | ||||
Fixed in Version | 4.4.5 revision 31315 | ||||
Summary | 0002203: Unit testing can not find class oxFb | ||||
Description | Each time i want to run the complete unit test procedure, I get a fatal error that the script could not find the oxFb class and aborts the whole test scenario. Therefore it is not possible to execute this test successfully. | ||||
Steps To Reproduce | Fatal error: Class 'oxFb' not found in [path]/unit/core/oxfbTest.php on line 59 | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
I have identified the problem. It seems unit testing crashes if cURL is not installed on the server. I've tested that with the official VMware for module certifications and had to reinstall ist. Unfornutately there is another problem with a maintenance test file: Unit_Maintenance_priceCalculationTest ... Fatal error: Call to a member function getId() on a non-object in /var/www/oxid/core/oxbasketitem.php on line 321 It seems that there is no oxArticle object at $this->getArticle(). |
|
can not reproduce the problem. @developers: check from source code side, maybe there is some special server configuration required like with oxfbTest case |
|
Please re-run shop setup and reinstall shop after you get any "Fatal error" while runing tests, because some trash data is left, which breaks tests. |