Commit 48ea9ab8 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon
Browse files

Call parent::setUp() in WebServiceTestBase (Bug 1515473)

behatnotneeded: This is phpunit, not behat. ;)

Change-Id: I906089c82c6e5ca521007359006b49381c537f2b
(cherry picked from commit b8957909)
parent 163c721d
......@@ -77,6 +77,8 @@ class WebServiceTestBase extends MaharaUnitTest {
* Setup test data
*/
protected function setUp() {
parent::setUp();
// default current user to admin
global $USER;
$USER->id = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment