Uh oh!
There was an error while loading. Please reload this page.
[stable19] LDAP: fix inGroup for memberUid type of group memberships - #24739
[stable19] LDAP: fix inGroup for memberUid type of group memberships#24739tofuSCHNITZEL wants to merge 6 commits into
Conversation
Signed-off-by: Tobias Perschon <tobias@perschon.at>
Signed-off-by: Tobias Perschon <tobias@perschon.at>
Signed-off-by: Tobias Perschon <tobias@perschon.at>
- the type check is not necessary anymore for the return type of _groupMembers() Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Tobias Perschon <tobias@perschon.at>
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 557: failuresqliteShow full logmariadb10.1-php7.2Show full logmariadb10.4-php7.3Show full logmysql8.0-php7.2Show full logmysql5.6-php7.2Show full logpostgres9-php7.3Show full logpostgres11-php7.2Show full log |
tofuSCHNITZEL
commented
Dec 17, 2020
blizzz
commented
Dec 17, 2020
I believe we have here an older phpunit running. The newer one makes the mocks return an empty value based on the return type hint, e.g. an empty array for arrays. The older runs just returns null. So the mocks in the tests needs to be adjusted and any important method that is call has to be made to return what is expected later on. |
tofuSCHNITZEL
commented
Feb 6, 2021
I fear I don't understand enough about these tests to fix this.... |
DanScharon
commented
Feb 23, 2021
any chance to get this backport into 19? |
I mark this as closed, as Nextcloud 19 won't get any further releases. EDIT ... oh, don't be sad |
backport for stable19 of #24402