Skip to content

Commit c1fb73c

Browse files
authored
Update CollectionFactoryTest.php
1 parent 81e3cbc commit c1fb73c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Security/Test/Unit/Model/ResourceModel/PasswordResetRequestEvent/CollectionFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function testCreate(
8282
->method('filterByIp')
8383
->with($longIp);
8484
}
85-
if ($limitMethod == ResetMethod::OPTION_BY_IP_OR_EMAIL) {
85+
if ($limitMethod == ResetMethod::OPTION_BY_IP_AND_EMAIL) {
8686
$collectionMcok->expects($this->once())
8787
->method('filterByIpOrAccountReference')
8888
->with($longIp, $accountReference);
@@ -99,7 +99,7 @@ public function createDataProvider()
9999
[null],
100100
[ResetMethod::OPTION_BY_EMAIL, 1, 'accountReference'],
101101
[ResetMethod::OPTION_BY_IP, 1, null, 'longIp'],
102-
[ResetMethod::OPTION_BY_IP_OR_EMAIL, 1, 'accountReference', 'longIp'],
102+
[ResetMethod::OPTION_BY_IP_AND_EMAIL, 1, 'accountReference', 'longIp'],
103103
];
104104
}
105105
}

0 commit comments

Comments
 (0)