Yii Framework Forum: Getting an error when i run default test in advanced template - Yii Framework Forum

Jump to content

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

Getting an error when i run default test in advanced template

#1 User is offline   mikyvato 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 15-October 13

Posted 21 May 2018 - 10:08 AM

Hi,

I am having problem when I try to run test by default in yii2 advanced template
first step run ./init
second step config DB
third step run ./migrate
fourth step ./vendor/bin/codecept run

and I have the follow error message

Quote

[yii\base\InvalidConfigException] Failed to instantiate component or class "db".

[yii\base\InvalidConfigException] The "id" configuration for the Application is required.

This post has been edited by mikyvato: 21 May 2018 - 10:10 AM

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