Skip to content
Snippets Groups Projects
Verified Commit 023726e5 authored by Damien's avatar Damien
Browse files

FEAT #13667 TIME 0:05 Fix unit tests

parent 9502e247
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
require_once 'vendor/autoload.php'; require_once 'vendor/autoload.php';
$userId = 'superadmin'; $login = 'superadmin';
$userInfo = \User\models\UserModel::getByLogin(['login' => $userId, 'select' => ['id']]); $userInfo = \User\models\UserModel::getByLogin(['login' => $login, 'select' => ['id']]);
$id = $userInfo['id']; $id = $userInfo['id'];
$_SERVER['REMOTE_ADDR'] = '127.0.0.1'; $_SERVER['REMOTE_ADDR'] = '127.0.0.1';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment