← Back to team overview

mahara-contributors team mailing list archive

[Bug 1401269] Re: Webservices tests need to be fixed up / made more robust

 

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1401269

Title:
  Webservices tests need to be fixed up / made more robust

Status in Mahara ePortfolio:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1401269/+subscriptions


References