summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/tests/phpunit/MockSuperUser.php')
-rw-r--r--MLEB/Translate/tests/phpunit/MockSuperUser.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/MLEB/Translate/tests/phpunit/MockSuperUser.php b/MLEB/Translate/tests/phpunit/MockSuperUser.php
deleted file mode 100644
index 0ebe1356..00000000
--- a/MLEB/Translate/tests/phpunit/MockSuperUser.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-/**
- * Just call SuperUser when you need to be able to do everything.
- */
-class MockSuperUser extends User {
- protected $id = 666;
-
- public function setId( $id ) {
- $this->id = $id;
- }
-
- public function getId() {
- return $this->id;
- }
-
- public function getName() {
- return 'SuperUser';
- }
-
- public function isAllowed( $right = '' ) {
- return true;
- }
-}