This repository was archived by the owner on May 18, 2024. It is now read-only.
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2019 MGatner
3
+ Copyright (c) 2019 CodeIgniter Foundation
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 20
20
define ('WRITEPATH ' , realpath ($ paths ->writableDirectory ) . DIRECTORY_SEPARATOR );
21
21
define ('SYSTEMPATH ' , realpath ($ paths ->systemDirectory ) . DIRECTORY_SEPARATOR );
22
22
define ('CIPATH ' , realpath (SYSTEMPATH . '../ ' ) . DIRECTORY_SEPARATOR );
23
+ define ('SUPPORTPATH ' , realpath (ROOTPATH . 'tests/_support ' ) . DIRECTORY_SEPARATOR );
23
24
24
25
// Define necessary project test path constants
25
- define ('SUPPORTPATH ' , realpath (__DIR__ ) . DIRECTORY_SEPARATOR );
26
- define ('TESTPATH ' , realpath (SUPPORTPATH . '../ ' ) . DIRECTORY_SEPARATOR );
26
+ define ('PROJECTSUPPORTPATH ' , realpath (__DIR__ ) . DIRECTORY_SEPARATOR );
27
+ define ('TESTPATH ' , realpath (PROJECTSUPPORTPATH . '../ ' ) . DIRECTORY_SEPARATOR );
27
28
28
29
// Set environment values that would otherwise stop the framework from functioning during tests.
29
30
if (! isset ($ _SERVER ['app.baseURL ' ]))
You can’t perform that action at this time.
0 commit comments