ver. 0.271 - ShopAttribute refactor + update package

This commit is contained in:
2026-02-14 21:12:17 +01:00
parent 137b15c97b
commit 67b0a2bb6a
27 changed files with 2367 additions and 726 deletions

View File

@@ -150,6 +150,7 @@ grep -r "Product::getQuantity" .
| 19 | ShopStatuses | 0.267 | listForAdmin, find, save, color picker |
| 20 | ShopPaymentMethod | 0.268 | listForAdmin, find, save, allActive, mapowanie Apilo, DI kontroler |
| 21 | ShopTransport | 0.269 | listForAdmin, find, save, allActive, allForAdmin, findActiveById, getTransportCost, lowestTransportPrice, getApiloCarrierAccountId, powiazanie z PaymentMethod, DI kontroler |
| 22 | ShopAttribute | 0.271 | list/edit/save/delete/values, nowy edytor wartosci, cleanup legacy, przepiecie zaleznosci kombinacji |
### Product - szczegolowy status
- ✅ getQuantity (ver. 0.238)
@@ -163,17 +164,15 @@ grep -r "Product::getQuantity" .
### 📋 Do zrobienia
- Order
- Category
- ShopAttribute
- ShopProduct (factory)
## Kolejność refaktoryzacji (priorytet)
1-21: ✅ Cache, Product, Banner, Settings, Dictionaries, ProductArchive, Filemanager, Users, Pages, Integrations, ShopPromotion, ShopCoupon, ShopStatuses, ShopPaymentMethod, ShopTransport
1-22: ✅ Cache, Product, Banner, Settings, Dictionaries, ProductArchive, Filemanager, Users, Pages, Integrations, ShopPromotion, ShopCoupon, ShopStatuses, ShopPaymentMethod, ShopTransport, ShopAttribute
Nastepne:
22. **Order**
23. **Category**
24. **ShopAttribute**
23. **Order**
24. **Category**
## Form Edit System
@@ -270,7 +269,11 @@ tests/
│ └── UsersControllerTest.php
└── Integration/
```
**Łącznie: 300 testów, 895 asercji**
**Lacznie: 312 testow, 948 asercji**
Aktualizacja 2026-02-14 (ver. 0.271):
- dodano testy `tests/Unit/Domain/Attribute/AttributeRepositoryTest.php`
- dodano testy `tests/Unit/admin/Controllers/ShopAttributeControllerTest.php`
Pelna dokumentacja testow: `TESTING.md`