I upgraded my website from magento 2.3.6-p1 to 2.4.5-p1,
When i run php unit test case for my custom module(This module overides the CreatePassword.php file from Customer module) throws error from Session manager like below
TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object
/var/www/html/project/Vendor_Name/src/vendor/magento/framework/Session/SessionManager.php:151 /var/www/html/project/Vendor_Name/src/vendor/magento/module-customer/Controller/Account/CreatePassword.php:100