Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
think
PhpunitHelper
setTestConfig
think\PhpunitHelper::setTestConfig PHP Method
PhpunitHelper Class Documentation
Show file
Open project: snowair/phpunithelper-thinkphp
setTestConfig()
public
method
你可以直接在测试代码里设置用于覆盖默认配置的配置项 但必须在start方法之前调用才有效
public
setTestConfig
(
array
$config
)
$config
array
public function setTestConfig(array $config) { $this->testConfig = $config; }
PhpunitHelper
__construct
_defineConsts
addMap
autoload
defineConst
defineConsts
dispatch
fatalError
getModel
getProjectRoot
guessPath
init
loadEnvConfig
run
setActionName
setGET
setMVC
setPOST
setRequest
setServerEnv
setServerEnvs
setTestConfig
start