We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c19fdb commit 4fbb5d4Copy full SHA for 4fbb5d4
1 file changed
src/NextcloudApiContext.php
@@ -96,6 +96,9 @@ public function assureUserExists(string $user): void {
96
97
#[Given('guest :guest exists')]
98
public function assureGuestExists(string $guest): void {
99
+ // Recent guests versions hash user IDs by default, but downstream tests
100
+ // still authenticate using the guest identifier passed in the scenario.
101
+ self::runCommand('config:app:set guests hash_user_ids --value false --type boolean');
102
$response = $this->userExists($guest);
103
if ($response->getStatusCode() !== 200) {
104
static::createAnEnvironmentWithValueToBeUsedByOccCommand('OC_PASS', '123456');
0 commit comments