We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b73de commit 9090d67Copy full SHA for 9090d67
tests/unit/Reference/ProfilePickerReferenceProviderTest.php
@@ -166,10 +166,10 @@ private function setupUserAccountReferenceExpectation(string $userId): ?IReferen
166
$propertyMock = $this->createMock(IAccountProperty::class);
167
$propertyMock->expects($this->any())
168
->method('getValue')
169
- ->willReturn($this->testAccountsData[$userId][$property]['value']);
+ ->willReturn($this->testAccountsData[$userId][$property]['value'] ?? '');
170
171
->method('getScope')
172
- ->willReturn($this->testAccountsData[$userId][$property]['scope']);
+ ->willReturn($this->testAccountsData[$userId][$property]['scope'] ?? '');
173
return $propertyMock;
174
});
175
0 commit comments