<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

$magentoDir = require __DIR__ . '/../../../etc/magento_path.php';
require_once $magentoDir . '/app/autoload.php';

$vendorDir = require $magentoDir . '/app/etc/vendor_path.php';
$vendorAutoload = require $magentoDir . "/{$vendorDir}/autoload.php";
$testsBaseDir = "$magentoDir/$vendorDir/magento/data-migration-tool/tests/integration";
$vendorAutoload->add('Migration\\Test\\', "{$testsBaseDir}/testsuite/Migration");
$vendorAutoload->addPsr4('Migration\\TestFramework\\', "{$testsBaseDir}/framework");
