【发布时间】:2019-02-26 21:37:34
【问题描述】:
我有 Magento 2.3,我想使用 Magento 功能测试框架 2.3 版,但是当我运行命令 vendor/bin/mftf run:test AdminLoginTest 运行测试时,出现以下错误:
==== Redirecting to Composer-installed version in vendor/codeception ====
Fatal error: Uncaught Error: Call to undefined function Codeception\Lib\codecept_absolute_path() in /Users/hanhan/Deskto
p/workspace/magento2/vendor/codeception/codeception/src/Codeception/Lib/ParamsLoader.php:25
在文件 PramsLoader.php 中,codecept_absolute_path() 方法被调用并给出错误,因为该方法没有定义
$this->paramsFile = codecept_absolute_path($paramStorage);
我该如何解决这个问题?
【问题讨论】:
标签: php magento magento2 magento-2.3