mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix: Fix integration tests
Birthdate was missing in editable fields while being editable, and the order was checked while having no importance. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
173a338f76
commit
51ccc8a838
2 changed files with 6 additions and 0 deletions
|
|
@ -267,6 +267,9 @@ trait Provisioning {
|
|||
|
||||
$expectedFields = $fields->getRows();
|
||||
$expectedFields = $this->simplifyArray($expectedFields);
|
||||
/* Sort both arrays as order is not important */
|
||||
sort($fieldsArray);
|
||||
sort($expectedFields);
|
||||
Assert::assertEquals($expectedFields, $fieldsArray);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ Feature: provisioning
|
|||
| role |
|
||||
| headline |
|
||||
| biography |
|
||||
| birthdate |
|
||||
| profile_enabled |
|
||||
| pronouns |
|
||||
Given As an "brand-new-user"
|
||||
|
|
@ -96,6 +97,7 @@ Feature: provisioning
|
|||
| role |
|
||||
| headline |
|
||||
| biography |
|
||||
| birthdate |
|
||||
| profile_enabled |
|
||||
| pronouns |
|
||||
Then user "self" has editable fields
|
||||
|
|
@ -112,6 +114,7 @@ Feature: provisioning
|
|||
| role |
|
||||
| headline |
|
||||
| biography |
|
||||
| birthdate |
|
||||
| profile_enabled |
|
||||
| pronouns |
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue