Webservices tests need to be fixed up / made more robust

Bug #1401269 reported by Robert Lyon on 2014-12-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yuliya Bozhko

Bug Description

It expects web service enabled, default institution auth though web services set up etc.

will be good to get these tests sorted out asap as it will make other work/changes run smoother

Yuliya Bozhko (yuliya.bozhko) wrote :

I was trying to do some fixes and improvements around phpunit and realised that web services tests are quite broken. You can try it out by running tests with https://reviews.mahara.org/#/c/4042/ checked out. Rather than setting up data required for tests, websevices tests expect everything to be set up globally which I don't think is a correct approach. My opinion is that it needs to be fixed if we want unit tests to ever pass :)


Robert Lyon (robertl-9) on 2014-12-16
Changed in mahara:
status: Confirmed → In Progress
assignee: nobody → Yuliya Bozhko (yuliya.bozhko)
Robert Lyon (robertl-9) on 2015-02-17
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2015-04-17
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers