Skip to content

Commit cc0fc8b

Browse files
authored
Merge pull request #97 from magento-commerce/imported-magento-magento2-functional-testing-framework-863
[Imported] 33582: Eliminated AspectMock from MagentoTestCase.php
2 parents ead1c23 + 6fa4ad0 commit cc0fc8b

File tree

7 files changed

+50
-375
lines changed

7 files changed

+50
-375
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"require-dev": {
4242
"brainmaestro/composer-git-hooks": "^2.3.1",
4343
"codacy/coverage": "^1.4",
44-
"codeception/aspect-mock": "^3.0",
4544
"php-coveralls/php-coveralls": "^1.0||^2.2",
4645
"phpmd/phpmd": "^2.8.0",
4746
"phpunit/phpunit": "^9.0",

composer.lock

Lines changed: 1 addition & 340 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/_bootstrap.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,6 @@
1515
require_once $mftfTestCasePath;
1616
require_once $mftfStaticTestCasePath;
1717

18-
// Set up AspectMock
19-
$kernel = \AspectMock\Kernel::getInstance();
20-
$kernel->init([
21-
'debug' => true,
22-
'includePaths' => [
23-
PROJECT_ROOT . DIRECTORY_SEPARATOR . 'src',
24-
PROJECT_ROOT . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'allure-framework'
25-
],
26-
'cacheDir' => PROJECT_ROOT .
27-
DIRECTORY_SEPARATOR .
28-
'dev' .
29-
DIRECTORY_SEPARATOR .
30-
'tests' .
31-
DIRECTORY_SEPARATOR .
32-
'.cache'
33-
]);
34-
3518
// set mftf appplication context
3619
\Magento\FunctionalTestingFramework\Config\MftfApplicationConfig::create(
3720
true,

0 commit comments

Comments
 (0)