aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/ErrorHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/ErrorHandlerTest.php')
-rw-r--r--tests/lib/ErrorHandlerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/ErrorHandlerTest.php b/tests/lib/ErrorHandlerTest.php
index 32112c19787..702f64bfb99 100644
--- a/tests/lib/ErrorHandlerTest.php
+++ b/tests/lib/ErrorHandlerTest.php
@@ -28,7 +28,7 @@ class ErrorHandlerTest extends \Test\TestCase {
* provide username, password combinations for testRemovePassword
* @return array
*/
- function passwordProvider() {
+ public function passwordProvider() {
return [
['user', 'password'],
['user@owncloud.org', 'password'],
@@ -43,7 +43,7 @@ class ErrorHandlerTest extends \Test\TestCase {
* @param string $username
* @param string $password
*/
- function testRemovePassword($username, $password) {
+ public function testRemovePassword($username, $password) {
$url = 'http://'.$username.':'.$password.'@owncloud.org';
$expectedResult = 'http://xxx:xxx@owncloud.org';
$result = TestableErrorHandler::testRemovePassword($url);