Skip to content

Commit 3e923a6

Browse files
committed
[ci] allow panther <2.0 in tests
1 parent 4ca9b7d commit 3e923a6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/Maker/MakeFunctionalTestTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ protected function getMakerClass(): string
2828
public function getTestDetails()
2929
{
3030
yield 'it_generates_test_with_panther' => [$this->createMakerTest()
31-
->addExtraDependencies('panther')
31+
/* @legacy Allows Panther >= 1.x to be installed. (PHP <8.0 support) */
32+
->addExtraDependencies('panther:*')
3233
->run(function (MakerTestRunner $runner) {
3334
$runner->copy(
3435
'make-functional/MainController.php',

tests/Maker/MakeTestTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ public function getTestDetails()
8080
];
8181

8282
yield 'it_makes_PantherTestCase_type' => [$this->createMakerTest()
83-
->addExtraDependencies('panther')
83+
/* @legacy Allows Panther >= 1.x to be installed. (PHP <8.0 support) */
84+
->addExtraDependencies('panther:*')
8485
->run(function (MakerTestRunner $runner) {
8586
$runner->copy(
8687
'make-test/basic_setup',

0 commit comments

Comments
 (0)