Codeception / Codeception/module-doctrine

Suggestion: `loadFixtures()`: Change the default for `append` to false

Aperta
#38 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
4
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The default mode when loading fixtures is to **purge**: https://symfony.com/bundles/DoctrineFixturesBundle/current/index.html#loading-fixtures

> By default the `load` command purges the database

But with `$I->loadFixtures()`, the default is to **append**. I think this is confusing and should be changed. However, I don't see any easy upgrade path... ;-)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.