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 limit check for demo #3357

Closed
wants to merge 13 commits into from
Closed

Adding limit check for demo #3357

wants to merge 13 commits into from

Conversation

willdoran
Copy link
Contributor

@willdoran willdoran commented Oct 25, 2018

This pull request makes the following changes:

  • Should only see first 25 posts when set to demo_1 tier

Test checklist:

  • For deployment with 25+ posts you should only ever see the first 25

  • You should not be able to load more

  • You should be able to see that you are viewing 25 of real number of posts

  • You should not be able to get more posts by using the offset

  • I certify that I ran my checklist

Fixes ushahidi/platform# .

Ping @ushahidi/platform

@coveralls
Copy link

coveralls commented Oct 25, 2018

Coverage Status

Coverage increased (+0.003%) to 33.658% when pulling d42c087 on fix-demo-posts into 93baa2a on develop.

Copy link
Contributor

@rowasc rowasc left a comment

Choose a reason for hiding this comment

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

looks good I think, only ffound a weird indent in the tests

tests/integration/posts/geojson.feature Outdated Show resolved Hide resolved
Copy link
Contributor

@rowasc rowasc left a comment

Choose a reason for hiding this comment

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

LGTM, I will test and we can release tomorrow if it passes.

@rowasc
Copy link
Contributor

rowasc commented Oct 31, 2018

Export is returning all posts, but I think that was by design , right? The checklist passed.

@willdoran willdoran closed this Nov 13, 2018
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.

None yet

3 participants