Upload test fails when it checks if picture is displayed in user profile. The test checks if pic url http://www.example.com/files/pictures/picture-1.png can be found on profile page. The problem is that on profile page pic url is wirtten differently //www.example.com/files/pictures/picture-1.png and therefore strpos cannot find a match.
I fixed this with a change that only searches for file/pictures/picture-1.png and I also removed print commands.

CommentFileSizeAuthor
upload_tests.patch.txt1.11 KBRok Žlender

Comments

Rok Žlender’s picture

Status: Needs review » Fixed

Dut to recent changes in core http://drupal.org/node/59912 upload module is now fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)