mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 14:52:47 +08:00
修复Request Test中isAjax和isPjax错误的测试用例
This commit is contained in:
@@ -34,11 +34,11 @@ trait ConfigInitTrait
|
||||
{
|
||||
self::$internalConfigFoo = \Closure::bind(function($value = null) {
|
||||
return !is_null($value) ? Config::$config = $value : Config::$config;
|
||||
}, null, Config::class);
|
||||
}, null, '\\Think\\Config');
|
||||
|
||||
self::$internalRangeFoo = \Closure::bind(function($value = null) {
|
||||
return !is_null($value) ? Config::$range = $value : Config::$range;
|
||||
}, null, Config::class);
|
||||
}, null, '\\Think\\Config');
|
||||
|
||||
self::$originConfig = call_user_func(self::$internalConfigFoo);
|
||||
self::$originRange = call_user_func(self::$internalRangeFoo);
|
||||
|
||||
Reference in New Issue
Block a user