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:
parent
91e06bc08a
commit
1c8295610b
|
@ -176,27 +176,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 =>
|
||||
[
|
||||
|
@ -204,15 +204,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,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue