Releases: tddwizard/magento2-fixtures
Releases · tddwizard/magento2-fixtures
1.1.2
1.1.1
1.1.0
1.1.0-rc1
Merge pull request #67 from lfolco/fixture-objects return objects from fixture (#66)
1.0.0
Marking the first stable release as promised!
🎉 Feature
- Added
ConfigFixture
#6
🐛 Bugfix
- Improved type safety
⚠️ Backwards incompatible changes
- The return type of
CustomerCheckout::placeOrder()
andOrderBuilder::build()
has been changed fromOrderInterface
toOrder
since the Sales builders use methods that are not part of the interface. In case you use a custom implementation ofOrderInterface
, the fixtures will not work.
⚙ Infrastructure
- Improvements for Travis CI
- Relax Faker requirement #46
0.12.1
🎉 Feature
- Product builder now can create virtual products (also works with cart and checkout/order)
🐛 Bugfix
- Fixture pool rollback did not work if non-numeric keys were used
0.12.0
🎉 New Features
- The
AddressBuilder
now has new a factory methodaCompanyAddress()
with additional parameter$vatId
(#50, Thanks @bartoszkubicki !) - Fixture pools have been added for more convenient handling of multiple fixtures. See README for details (#52)
⚠️ Backwards incompatible changes
- Many type declarations have been added (#49)
if your tests usedeclare(strict_types=1)
, you will probably need to type cast some parameters - The arguable unnecessary ObjectManager parameter from factory methods has been removed (#55)
TheAddressBuilder::anAddress()
method signature changed in an incompatible way, because the first parameter has been dropped
⚙ Infrastructure
- Tests for the package now run on Travis CI for current Magento versions (Magento 2.3 with PHP 7.3 and Magento 2.4 with PHP 7.4)
0.11.0
0.10.0
0.9.0
This release contains the following community contributions:
#18 withDob()
method for customer builder (Thanks @larsroettig )
#28 use a new quote for each order fixture (Thanks @Sebastian80 )
#33 Use faker to generate customer addresses (Thanks @mam08ixo & @moehrenzahn)
#34 Add 'Sales' Builders: Order, Shipment, Invoice, CreditMemo (Thanks @mam08ixo & @moehrenzahn)
Great work! 🎉
Also, Magento 2.1 compatibility has been dropped.