All pastes #2072639 Raw Edit

Miscellany

public text v1 · immutable
#2072639 ·published 2011-05-31 06:40 UTC
rendered paste body

     [echo] Performing unit tests - [phpunit]
     [exec] Executing command: phpunit --verbose --exclude-group disabled,selenium --configuration build/phpunit.xml src/test 2>&1
     [exec] PHPUnit 3.5.13 by Sebastian Bergmann.
     [exec] 
     [exec] Trying to get property of non-object on line 43 in file /home/xris/ca_revanalytics/trunk/src/application/App/Hotel/Tripadvisor/ReviewParser.php
     [exec] Array
     [exec] Trying to get property of non-object on line 89 in file /home/xris/ca_revanalytics/trunk/src/application/App/Hotel/Tripadvisor/ReviewParser.php
     [exec] Array
     [exec] Trying to get property of non-object on line 129 in file /home/xris/ca_revanalytics/trunk/src/application/App/Hotel/Tripadvisor/ReviewParser.php
     [exec] Array
     [exec] F.F..Undefined variable: hotelId on line 202 in file /home/xris/ca_revanalytics/trunk/src/application/App/Hotel/Holidaycheck/Site.php
     [exec] Array
     [exec] Undefined variable: hotelId on line 207 in file /home/xris/ca_revanalytics/trunk/src/application/App/Hotel/Holidaycheck/Site.php
     [exec] Array
     [exec] E.
     [exec] 
     [exec] Time: 01:10, Memory: 27.00Mb
     [exec] 
     [exec] There was 1 error:
     [exec] 
     [exec] 1) App_Hotel_Holidaycheck_SiteTest::testUpdate
     [exec] Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'hotelId' cannot be null
     [exec] 
     [exec] /home/xris/ca_revanalytics/trunk/src/application/App/Hotel/Holidaycheck/Site.php:260
     [exec] /home/xris/ca_revanalytics/trunk/src/application/App/Hotel/Holidaycheck/Site.php:358
     [exec] /home/xris/ca_revanalytics/trunk/src/test/App/Hotel/Holidaycheck/SiteTest.php:43
     [exec] 
     [exec] --
     [exec] 
     [exec] 
     [exec] There were 2 failures:
     [exec] 
     [exec] 1) App_Hotel_Tripadvisor_ReviewTest::testReviewParser
     [exec] Scraped review for http://www.tripadvisor.com/Hotel_Review-g670762-d250451-Reviews-Hotel_Prinz_Luitpold_Bad-Bad_Hindelang_Bavaria.html#REVIEWS
     [exec]  Data for key [reviewSubject] does not match.
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec] -Ein Genuss für die Sinne
     [exec] +
     [exec] 
     [exec] /home/xris/ca_revanalytics/trunk/src/test/App/Hotel/Tripadvisor/ReviewTest.php:75
     [exec] 
     [exec] 2) App_Hotel_Booking_ReviewTest::testReviewParser
     [exec] Scraped review for http://www.booking.com/hotel/de/prinz-luitpold-bad.en-us.html
     [exec]  Data for key [reviewTextPositive] does not match.
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec] 
     [exec] -		Very friendly and accomodating staff, good food and beautiful authentic German style building/decor. Indoor pool is good.Very friendly and accomodating staff, good food and beautiful authentic German style building/decor. Indoor pool is good.
     [exec] 
     [exec] /home/xris/ca_revanalytics/trunk/src/test/App/Hotel/Booking/ReviewTest.php:75