Make template compatible with PHP 8.1 and Codeception 5 (#259)

Co-authored-by: Luke English <luke.english@ec2i.biz>
This commit is contained in:
Luke English 2022-02-24 21:45:17 +00:00 committed by GitHub
parent 0f429780b4
commit 60d89fc552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ jobs:
- "7.3" - "7.3"
- "7.4" - "7.4"
- "8.0" - "8.0"
- "8.1"
steps: steps:
- name: Checkout - name: Checkout

View File

@ -11,3 +11,4 @@ modules:
enabled: enabled:
- Filesystem - Filesystem
- Yii2 - Yii2
- Asserts

View File

@ -4,7 +4,7 @@ class ContactFormCest
{ {
public function _before(\FunctionalTester $I) public function _before(\FunctionalTester $I)
{ {
$I->amOnPage(['site/contact']); $I->amOnRoute('site/contact');
} }
public function openContactPage(\FunctionalTester $I) public function openContactPage(\FunctionalTester $I)