Yii Framework Forum: codeception error - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

codeception error

#1 User is offline   masih fathi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 01-April 17

Posted 05 April 2017 - 01:34 PM

i update composer with self-composer and create a new test yii2 project but when i run tests with
codecept run
, i get the strange error:
Codeception PHP Testing Framework v2.0.16
Powered by PHPUnit 5.7.19 by Sebastian Bergmann and contributors.
PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Codeception\Module::__construct() must be an instance of Codeception\Lib\ModuleContainer, array given, called in /home/masih/.composer/vendor/codeception/codeception/src/Codeception/Configuration.php on line 327 and defined in /var/www/html/test/vendor/codeception/codeception/src/Codeception/Module.php:70
Stack trace:
#0 /home/masih/.composer/vendor/codeception/codeception/src/Codeception/Configuration.php(327): Codeception\Module->__construct(Array)
#1 /home/masih/.composer/vendor/codeception/codeception/src/Codeception/Configuration.php(287): Codeception\Configuration::createModule('Filesystem', Array, '')
#2 /var/www/html/test/vendor/codeception/codeception/src/Codeception/SuiteManager.php(65): Codeception\Configuration::modules(Array)
#3 /home/masih/.composer/vendor/codeception/codeception/src/Codeception/Codecept.php(172): Codeception\SuiteManager->__construct(Object(Symfony\Component\EventDispatcher\EventDispatcher), 'functional', Array)
#4 /home/masih/.composer/ in /var/www/html/test/vendor/codeception/codeception/src/Codeception/Module.php on line 70

and when i run tests with
composer exec codecept run

i get no result in the terminal. i really confused why this happen.
0

#2 User is offline   Dmitry Dorogin 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 03-July 17

Posted 04 July 2017 - 04:18 AM

Could we see any configuration ?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users