Skip to content

Commit b938ede

Browse files
committed
MQE-983: Unit Test for Module Resolver
- Added explict check for location paths - Added Custom Module Check - Updated Aspect Mock version - Updated goaop version - Added wrapper for glob()
1 parent a044fe6 commit b938ede

File tree

6 files changed

+222
-40
lines changed

6 files changed

+222
-40
lines changed

Diff for: composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"squizlabs/php_codesniffer": "1.5.3",
2525
"sebastian/phpcpd": "~3.0",
2626
"brainmaestro/composer-git-hooks": "^2.3",
27-
"codeception/aspect-mock": "^2.0",
28-
"goaop/framework": "2.1.2",
27+
"codeception/aspect-mock": "^3.0",
28+
"goaop/framework": "2.2.0",
2929
"codacy/coverage": "^1.4",
3030
"phpmd/phpmd": "^2.6.0",
3131
"rregeer/phpunit-coverage-check": "^0.1.4",

Diff for: composer.lock

+103-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dev/tests/.cache/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ignore everything in this directory
2+
*
3+
# Except this file
4+
!.gitignore

Diff for: dev/tests/_bootstrap.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@
1313
$kernel = \AspectMock\Kernel::getInstance();
1414
$kernel->init([
1515
'debug' => true,
16-
'includePaths' => [PROJECT_ROOT . '/src']
16+
'includePaths' => [PROJECT_ROOT . '/src'],
17+
'cacheDir' => PROJECT_ROOT .
18+
DIRECTORY_SEPARATOR .
19+
'dev' .
20+
DIRECTORY_SEPARATOR .
21+
'tests' .
22+
DIRECTORY_SEPARATOR .
23+
'.cache'
1724
]);
1825

1926
// set mftf appplication context

0 commit comments

Comments
 (0)