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
I assume that the "createAsCustomer" booted method in the Billable class is being ran every time I refresh and seed my database and also when I am running my test. Without the "Billable" trait my test run in 6 seconds. With the trait it takes 45 seconds. Am I able to disable this when testing? Any suggestions are welcome
Steps To Reproduce
Just run test using PestPHP with the "Billable" trait versus without. My application is multi-tenant, so most of my tests require me to create the Billable model in order to attach it to another model.
The text was updated successfully, but these errors were encountered:
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Cashier Paddle Version
2.5.0
Laravel Version
11.15.0
PHP Version
8.3
Database Driver & Version
No response
Description
I assume that the "createAsCustomer" booted method in the Billable class is being ran every time I refresh and seed my database and also when I am running my test. Without the "Billable" trait my test run in 6 seconds. With the trait it takes 45 seconds. Am I able to disable this when testing? Any suggestions are welcome
Steps To Reproduce
Just run test using PestPHP with the "Billable" trait versus without. My application is multi-tenant, so most of my tests require me to create the Billable model in order to attach it to another model.
The text was updated successfully, but these errors were encountered: