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 5a497841be
commit f2e40238a6
1 changed files with 12 additions and 12 deletions

View File

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