Add automated tests for formatting products #442
Labels
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: enhancement
The issue is a request for an enhancement.
type: technical debt
This issue/PR represents/solves the technical debt of the project.
This is a follow-up from #439
UserDeveloper storyAs a developer, I'd like to have automated tests to help me assert the quality of the extension in regards to tracked product data.
Is your feature request related to a problem?
get_formatted_product
is not covered by testsHow to reproduce the problem
Describe the solution you'd like
We could add PHP unit tests to check
get_formatted_product
for simple, variable and bundled products.We can also consider adding E2Es to somewhat test Block-based events' data.
Describe alternatives you've considered
Technical
Acceptance criteria
Unknowns
Out of bounds/rabbit holes
The text was updated successfully, but these errors were encountered: