Skip to content

Commit 22c7cb2

Browse files
Revert change for installing legacy factories
1 parent 65f9fa0 commit 22c7cb2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ jobs:
102102
103103
- name: Install legacy factories
104104
run: |
105-
composer remove "laravel/legacy-factories" --no-interaction
106-
if: "matrix.laravel < 8"
105+
composer require "laravel/legacy-factories" --no-interaction
106+
if: "matrix.laravel >= 8"
107107

108108
- name: Execute tests
109109
run: vendor/bin/phpunit --testdox --configuration phpunit.xml.dist

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
},
3030
"require-dev": {
3131
"orchestra/testbench": "^6.0|^7.0|^8.0",
32-
"predis/predis": "^1.1",
33-
"laravel/legacy-factories": "^1.3"
32+
"predis/predis": "^1.1"
3433
},
3534
"autoload": {
3635
"psr-4": {

0 commit comments

Comments
 (0)