Webservices tests need to be fixed up / made more robust

Bug #1401269 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
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

Tags: webservices
Revision history for this message
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 :)

Yuliya

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.