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 8aa0f01 commit 82ca4f6Copy full SHA for 82ca4f6
app/code/Magento/Backend/Test/Unit/Model/Validator/IpValidatorTest.php
@@ -8,6 +8,7 @@
8
namespace Magento\Backend\Test\Unit\Model\Validator;
9
10
use Magento\Backend\Model\Validator\IpValidator;
11
+use Magento\Framework\App\Utility\IPAddress;
12
use PHPUnit\Framework\TestCase;
13
14
/**
@@ -25,7 +26,9 @@ class IpValidatorTest extends TestCase
25
26
*/
27
protected function setUp(): void
28
{
- $this->ipValidator = new IpValidator();
29
+ $this->ipValidator = new IpValidator(
30
+ new IPAddress()
31
+ );
32
}
33
34
0 commit comments