diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-13 06:21:24 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-13 06:21:24 +0400 |
commit | 9f4ba4eea6c85a92b87fbad6f0556ee5d8551762 (patch) | |
tree | 0225fe694c5d6b15ca9ba9d528e16f03ce4249bd /tests/PHPUnit/Framework/OverrideLogin.php | |
parent | c87dc623acf264d7559991cfc66cefa85bba4f1f (diff) |
refs #5940 moved files into a subfolder framework, added autoloader to remove duplicated code to load autoload.php and to be able to register more autoloaders (eg for test files) on demand. This I got read of many includes that had to be updated all the time and that had to be updated all the time when moving iles
Diffstat (limited to 'tests/PHPUnit/Framework/OverrideLogin.php')
-rw-r--r-- | tests/PHPUnit/Framework/OverrideLogin.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/OverrideLogin.php b/tests/PHPUnit/Framework/OverrideLogin.php new file mode 100644 index 0000000000..20a30fa8fa --- /dev/null +++ b/tests/PHPUnit/Framework/OverrideLogin.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ +namespace Piwik\Tests\Framework; + +use Piwik\Access; + +// needed by tests that use stored segments w/ the proxy index.php +class OverrideLogin extends Access +{ + public function getLogin() + { + return 'superUserLogin'; + } +}
\ No newline at end of file |