Skip to content

Commit 3f16542

Browse files
committed
Update integration test
1 parent ea69afb commit 3f16542

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/integration-test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ jobs:
102102
expect eof
103103
EOD
104104
105-
php bin/console make:fixtures AppFixtures
105+
if [ ! -f src/DataFixtures/AppFixtures.php ]; then
106+
php bin/console make:fixtures AppFixtures
107+
else
108+
echo "AppFixtures.php already exists, skipping creation."
109+
fi
106110
107111
sed -i 's|use Doctrine\\Persistence\\ObjectManager;|use Doctrine\\Persistence\\ObjectManager;\nuse App\\Factory\\ProductFactory;|' src/DataFixtures/AppFixtures.php
108112
sed -i 's|// \$product = new Product();|ProductFactory::createMany(10);|' src/DataFixtures/AppFixtures.php

0 commit comments

Comments
 (0)