Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Test & Lint Functional Errors #475

Merged
merged 14 commits into from
Feb 29, 2024

Conversation

kedarkhaire
Copy link
Collaborator

@kedarkhaire kedarkhaire commented Feb 8, 2024

Fixes #473, #474 & #477

The changes are made in testcases because in commerce module it takes all the integer, float, decimal, string values as a string only - https://docs.drupalcommerce.org/commerce2/developer-guide/pricing/prices
Boolean values True & False are accepted, they don't need to be converted.

Changes made in AddCreditAddToCartForm.php file is made as per the recent changes made in AddtoCart.php file from Commerce Cart module v2.36 to v2.37.
Instead of redefining the variables and missing any other, we use parent::create($container), this has all the required things for AddtoCart commerce cart functionality.
Additional variables & objects can be defined in create using container and defining it to the instance created.

@kedarkhaire kedarkhaire changed the title Fix for Test & Lint Errors Fix for Test & Lint Functional Errors Feb 8, 2024
@kedarkhaire kedarkhaire marked this pull request as ready for review February 8, 2024 15:01
Copy link
Collaborator

@divya-intelli divya-intelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@divya-intelli divya-intelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test and Lint errors for Apigee m10n add credit testcases
3 participants