This repository was archived by the owner on May 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 27
27
"php" : " >=7.2"
28
28
},
29
29
"require-dev" : {
30
- "phpunit/phpunit" : " ^7.0" ,
30
+ "codeigniter4/codeigniter4" : " dev-develop" ,
31
+ "mikey179/vfsstream" : " 1.6.*" ,
31
32
"mockery/mockery" : " ^1.0" ,
32
- "codeigniter4/codeigniter4" : " dev-develop "
33
+ "phpunit/phpunit" : " ^7.0 "
33
34
},
34
35
"autoload" : {
35
36
"psr-4" : {
Original file line number Diff line number Diff line change 19
19
define ('FCPATH ' , realpath (ROOTPATH . 'public ' ) . DIRECTORY_SEPARATOR );
20
20
define ('SYSTEMPATH ' , realpath ($ paths ->systemDirectory ) . DIRECTORY_SEPARATOR );
21
21
define ('WRITEPATH ' , realpath ($ paths ->writableDirectory ) . DIRECTORY_SEPARATOR );
22
+ define ('SUPPORTPATH ' , realpath (ROOTPATH . 'tests/_support ' ) . DIRECTORY_SEPARATOR );
22
23
23
24
// Define necessary module test path constants
24
- define ('SUPPORTPATH ' , realpath (__DIR__ ) . DIRECTORY_SEPARATOR );
25
- define ('TESTPATH ' , realpath (SUPPORTPATH . '../ ' ) . DIRECTORY_SEPARATOR );
26
- define ('MODULEPATH ' , realpath (__DIR__ . '/../../ ' ) . DIRECTORY_SEPARATOR );
27
- define ('COMPOSER_PATH ' , MODULEPATH . 'vendor/autoload.php ' );
25
+ define ('MODULESUPPORTPATH ' , realpath (__DIR__ ) . DIRECTORY_SEPARATOR );
26
+ define ('TESTPATH ' , realpath (MODULESUPPORTPATH . '../ ' ) . DIRECTORY_SEPARATOR );
27
+ define ('MODULEPATH ' , realpath (__DIR__ . '/../../ ' ) . DIRECTORY_SEPARATOR );
28
+ define ('COMPOSER_PATH ' , MODULEPATH . 'vendor/autoload.php ' );
28
29
29
30
// Set environment values that would otherwise stop the framework from functioning during tests.
30
31
if (! isset ($ _SERVER ['app.baseURL ' ]))
You can’t perform that action at this time.
0 commit comments