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

Adding tests for Request class #27

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Adding tests for Request class #27

merged 1 commit into from
Oct 17, 2024

Conversation

erikaheidi
Copy link
Contributor

Another PR to support nested content - librarianphp/librarian#53

This adds tests for the Request class, and adds a new property parent and getParent() method to obtain the correct ContentType based on the URL path.

The Web ContentController must be updated to use getParent instead of getRoute for fetching the content type. Other updates might be necessary in the command-web repository to make listings work with nested content.

@erikaheidi erikaheidi merged commit 750b771 into main Oct 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant