Skip to content

Commit 6a5c69e

Browse files
committed
tests: Handle 8.2/8.3
1 parent 6b22733 commit 6a5c69e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Integrations/CodeIgniter/V3_1/CommonScenariosTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testScenarioGetWithView()
5252

5353
public function testScenarioGetWithExceptionCgi()
5454
{
55-
if (!self::codeIgniterCgiCheck()) {
55+
if (!self::codeIgniterCgiCheck() || PHP_VERSION_ID >= 80200) {
5656
$this->markTestSkipped('Skip: Test only runs with cgi SAPIs');
5757
}
5858

@@ -68,7 +68,7 @@ public function testScenarioGetWithExceptionCgi()
6868

6969
public function testScenarioGetToMissingRouteCgi()
7070
{
71-
if (!self::codeIgniterCgiCheck()) {
71+
if (!self::codeIgniterCgiCheck() || PHP_VERSION_ID >= 80200) {
7272
$this->markTestSkipped('Skip: Test only runs with cgi SAPIs');
7373
}
7474

@@ -84,7 +84,7 @@ public function testScenarioGetToMissingRouteCgi()
8484

8585
public function testScenarioGetWithException()
8686
{
87-
if (self::codeIgniterCgiCheck()) {
87+
if (self::codeIgniterCgiCheck() && PHP_VERSION_ID < 80200) {
8888
$this->markTestSkipped('Skip: Test doesn\'t run with cgi SAPIs');
8989
}
9090

@@ -100,7 +100,7 @@ public function testScenarioGetWithException()
100100

101101
public function testScenarioGetToMissingRoute()
102102
{
103-
if (self::codeIgniterCgiCheck()) {
103+
if (self::codeIgniterCgiCheck() && PHP_VERSION_ID < 80200) {
104104
$this->markTestSkipped('Skip: Test doesn\'t run with cgi SAPIs');
105105
}
106106

0 commit comments

Comments
 (0)