Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/dev/tests/integration/testsuite/Magento/Security/_files/
Upload File :
Current File : //home/rtorresani/www/dev/tests/integration/testsuite/Magento/Security/_files/adminsession.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
$om = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
$session = $om->create(\Magento\Security\Model\AdminSessionInfo::class);
$session->setSessionId('569e2e3d752e9')
    ->setUserId(1)
    ->setStatus(\Magento\Security\Model\AdminSessionInfo::LOGGED_IN)
    ->setCreatedAt('2016-01-19 15:42:13')
    ->setUpdatedAt('2016-01-19 15:42:13')
    ->save();

$session = $om->create(\Magento\Security\Model\AdminSessionInfo::class);
$session->setSessionId('569e2277752e9')
    ->setUserId(1)
    ->setStatus(\Magento\Security\Model\AdminSessionInfo::LOGGED_IN)
    ->setCreatedAt('2016-01-18 13:00:13')
    ->setUpdatedAt('2016-01-18 13:00:13')
    ->save();