Skip to content

33582: Eliminated AspectMock from MagentoTestCase.php #863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.3.1",
"codacy/coverage": "^1.4",
"codeception/aspect-mock": "^3.0",
"php-coveralls/php-coveralls": "^1.0||^2.2",
"phpmd/phpmd": "^2.8.0",
"phpunit/phpunit": "^9.0",
Expand Down
341 changes: 1 addition & 340 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 0 additions & 17 deletions dev/tests/_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@
require_once $mftfTestCasePath;
require_once $mftfStaticTestCasePath;

// Set up AspectMock
$kernel = \AspectMock\Kernel::getInstance();
$kernel->init([
'debug' => true,
'includePaths' => [
PROJECT_ROOT . DIRECTORY_SEPARATOR . 'src',
PROJECT_ROOT . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'allure-framework'
],
'cacheDir' => PROJECT_ROOT .
DIRECTORY_SEPARATOR .
'dev' .
DIRECTORY_SEPARATOR .
'tests' .
DIRECTORY_SEPARATOR .
'.cache'
]);

// set mftf appplication context
\Magento\FunctionalTestingFramework\Config\MftfApplicationConfig::create(
true,
Expand Down
Loading