Skip to content

Conversation

@VincentBean
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a Store::website() method to resolve the related Website via the GetsWebsites contract and introduces a test to verify the behavior.

  • Implement Store::website() using the GetsWebsites contract and Collection filtering
  • Add a test ensuring the correct website is returned for a store

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/Data/StoreTest.php Adds a test that fakes the Magento websites endpoint and asserts Store::website() returns the expected Website.
src/Data/Store.php Implements website() to fetch and return the matching Website from the GetsWebsites service.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@justbetter justbetter deleted a comment from Copilot AI Oct 3, 2025
@justbetter justbetter deleted a comment from Copilot AI Oct 3, 2025
@ramonrietdijk ramonrietdijk merged commit 256f781 into main Oct 6, 2025
12 checks passed
@ramonrietdijk ramonrietdijk deleted the feature/website-method branch October 6, 2025 06:15
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.

3 participants