Change default test data to values less similar to empty values

Right now it makes no difference, but this should make future tests
clearer, specially in case of failure.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2021-01-29 20:37:14 +01:00
parent ef5d538448
commit 190ffd75b7
1 changed files with 12 additions and 12 deletions

View File

@ -184,27 +184,27 @@ class UsersControllerTest extends \Test\TestCase {
return [ return [
IAccountManager::PROPERTY_DISPLAYNAME => IAccountManager::PROPERTY_DISPLAYNAME =>
[ [
'value' => 'Display name', 'value' => 'Default display name',
'scope' => IAccountManager::SCOPE_FEDERATED, 'scope' => IAccountManager::SCOPE_FEDERATED,
'verified' => IAccountManager::NOT_VERIFIED, 'verified' => IAccountManager::VERIFIED,
], ],
IAccountManager::PROPERTY_ADDRESS => IAccountManager::PROPERTY_ADDRESS =>
[ [
'value' => '', 'value' => 'Default address',
'scope' => IAccountManager::SCOPE_LOCAL, 'scope' => IAccountManager::SCOPE_LOCAL,
'verified' => IAccountManager::NOT_VERIFIED, 'verified' => IAccountManager::VERIFIED,
], ],
IAccountManager::PROPERTY_WEBSITE => IAccountManager::PROPERTY_WEBSITE =>
[ [
'value' => '', 'value' => 'Default website',
'scope' => IAccountManager::SCOPE_LOCAL, 'scope' => IAccountManager::SCOPE_LOCAL,
'verified' => IAccountManager::NOT_VERIFIED, 'verified' => IAccountManager::VERIFIED,
], ],
IAccountManager::PROPERTY_EMAIL => IAccountManager::PROPERTY_EMAIL =>
[ [
'value' => '', 'value' => 'Default email',
'scope' => IAccountManager::SCOPE_FEDERATED, 'scope' => IAccountManager::SCOPE_FEDERATED,
'verified' => IAccountManager::NOT_VERIFIED, 'verified' => IAccountManager::VERIFIED,
], ],
IAccountManager::PROPERTY_AVATAR => IAccountManager::PROPERTY_AVATAR =>
[ [
@ -212,15 +212,15 @@ class UsersControllerTest extends \Test\TestCase {
], ],
IAccountManager::PROPERTY_PHONE => IAccountManager::PROPERTY_PHONE =>
[ [
'value' => '', 'value' => 'Default phone',
'scope' => IAccountManager::SCOPE_LOCAL, 'scope' => IAccountManager::SCOPE_LOCAL,
'verified' => IAccountManager::NOT_VERIFIED, 'verified' => IAccountManager::VERIFIED,
], ],
IAccountManager::PROPERTY_TWITTER => IAccountManager::PROPERTY_TWITTER =>
[ [
'value' => '', 'value' => 'Default twitter',
'scope' => IAccountManager::SCOPE_LOCAL, 'scope' => IAccountManager::SCOPE_LOCAL,
'verified' => IAccountManager::NOT_VERIFIED, 'verified' => IAccountManager::VERIFIED,
], ],
]; ];
} }