Skip to content

Use createService for applyGiftCard test#124

Open
atkinson-daniel wants to merge 1 commit intoturingschool-examples:mainfrom
atkinson-daniel:spa-tests
Open

Use createService for applyGiftCard test#124
atkinson-daniel wants to merge 1 commit intoturingschool-examples:mainfrom
atkinson-daniel:spa-tests

Conversation

@atkinson-daniel
Copy link

This pull request updates the tests in the spa-tests folder to utilize the createService function instead of manually creating service objects. The existing tests were expecting the attribute 'cost' instead of 'price', causing confusion. By using the createService function, we have consistency in attribute naming across tests.

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.

1 participant