mardi 21 mars 2017

Yii2: Codeception functional testing with subdomains

How do we configure Codeception to test frontend and backend applications, which are accessible through their own subdomains:

  • Frontend: project1.example.com
  • Backend: backend1.example.com

The default codeception configuration in yii2-app-advanced expects both frontend and backend to be on the same domain (localhost)!

Aucun commentaire:

Enregistrer un commentaire