Laravel unit tests - changing a config value depending on test method Laravel unit tests - changing a config value depending on test method laravel laravel

Laravel unit tests - changing a config value depending on test method


If I understand your question right - you looking for "how to set config param", then you can use Config::set($key, $value)


Correct answer is above

Config::set($key, $value) 

Example

//Not forget to add namespace using class.use Config;//Example to set config. (configFile.key)Config::set('auth.enable_verification', false);