diff options
Diffstat (limited to 'plugins/UsersManager/tests/System/ApiTest.php')
-rw-r--r-- | plugins/UsersManager/tests/System/ApiTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/UsersManager/tests/System/ApiTest.php b/plugins/UsersManager/tests/System/ApiTest.php index b72a956e10..4192b62d0c 100644 --- a/plugins/UsersManager/tests/System/ApiTest.php +++ b/plugins/UsersManager/tests/System/ApiTest.php @@ -38,8 +38,9 @@ class ApiTest extends SystemTestCase // login1 = super user, login2 = some admin access, login4 = only view access foreach ($logins as $login => $appendix) { $params['token_auth'] = self::$fixture->users[$login]['token']; + $xmlFieldsToRemove = array('date_registered', 'password', 'token_auth'); - $this->runAnyApiTest($api, $apiId . '_' . $appendix, $params, array('xmlFieldsToRemove' => array('date_registered'))); + $this->runAnyApiTest($api, $apiId . '_' . $appendix, $params, array('xmlFieldsToRemove' => $xmlFieldsToRemove)); } } |