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

add tests for collections search links #310

Merged
merged 5 commits into from
Oct 14, 2024
Merged

add tests for collections search links #310

merged 5 commits into from
Oct 14, 2024

Conversation

vincentsarago
Copy link
Member

while working on stac-utils/stac-fastapi-pgstac#155 we encountered some strange behaviour with the next/prev links returned by pgstac

The first commit of this PR adds tests showing what I was expecting from pgstac

cc @bitner

Note: in tipg this is how we determine next/prev links https://github.com/developmentseed/tipg/blob/ea1ef949873abb7886811dce85a47913f38e3e38/tipg/collections.py#L783-L788

@vincentsarago
Copy link
Member Author

🤔 well tests pass!

@vincentsarago
Copy link
Member Author

@bitner I'm not sure to understand how the CI is design, thus I'm not sure that pgtap was ran with my last commit

@bitner
Copy link
Collaborator

bitner commented Oct 14, 2024

Yeah, it doesn't look like tests ran at all.

@bitner bitner marked this pull request as ready for review October 14, 2024 18:41
@bitner bitner merged commit f1d71d5 into main Oct 14, 2024
15 checks passed
@drnextgis
Copy link
Collaborator

drnextgis commented Oct 14, 2024

In 'Files changed' tab I see changes that were already merged to the main branch before, like this b73d570.

@drnextgis
Copy link
Collaborator

Ah that makes sense because it was never included in the migrations.

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