Skip to content

EspoCRM – Open Source CRM Application

Fix order

Yurii59273bad51a4
diff --git a/tests/unit/Espo/Core/Utils/Security/HostCheckTest.php b/tests/unit/Espo/Core/Utils/Security/HostCheckTest.php
index 86c4fc7ca9..6053693cac 100644
--- a/tests/unit/Espo/Core/Utils/Security/HostCheckTest.php
+++ b/tests/unit/Espo/Core/Utils/Security/HostCheckTest.php
@@ -102,6 +102,6 @@ class HostCheckTest extends TestCase
{
$hostCheck = new HostCheck();
- $this->assertEquals($hostCheck->ipAddressIsNotInternal($ipAddress), $expected);
+ $this->assertEquals($expected, $hostCheck->ipAddressIsNotInternal($ipAddress));
}
}