You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor tests to use factory pattern instead of direct model instantiation (#1364)
* Initial plan
* Create missing factories and update helpers to use them
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Add PaymentRequest factories and refactor all test files to use factories
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Complete refactoring: add PaymentRequestBalanceTransaction factory and fix remaining test files
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Fix AssignFactory to support include options for backward compatibility
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Add comprehensive documentation for test factories
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Fix import paths in findUnclaimedBounties.test.ts to use centralized factory index
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Fix payment-requests test: explicitly set amount to null for custom_amount scenario
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Fix UserFactory to generate unique emails and usernames to avoid validation errors
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Make all factory IDs unique to prevent constraint violations
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* Potential fix for code scanning alert no. 278: Insecure randomness
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Fix TransferFactory to use correct Transfer model fields (value instead of amount)
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
* fixing duplicate issue on test issue factory
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexanmtz <88840+alexanmtz@users.noreply.github.com>
Co-authored-by: Alexandre Magno <alexanmtz@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
0 commit comments