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

Fix incorrect test #3101

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Fix incorrect test #3101

merged 1 commit into from
Feb 20, 2024

Conversation

jkempster34
Copy link
Contributor

https://trello.com/c/npYpoK31

Currently, the worldwide organisation example JSON is incorrect; it contains:

  • The link to "Personal information charter" as a corporate information page with a full URL
  • A secondary corporate information page with a relative URL.

The former shouldn't be present, and this test relies on it's existence.

This updates the test so that the corporate information page link can be removed in alphagov/publishing-api#2637

The current example JSON produces this:
image


⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Currently, the worldwide organisation example JSON is incorrect; it contains:
- The link to "Personal information charter" as a corporate information page
  with a full URL
- A secondary corporate information page with a relative URL.

The former shouldn't be present, and this test relies on it's existence.

This updates the test so that the corporate information page link can be
removed in alphagov/publishing-api#2637
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3101 February 20, 2024 11:46 Inactive
Copy link
Contributor

@JonathanHallam JonathanHallam left a comment

Choose a reason for hiding this comment

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

🎉

@jkempster34 jkempster34 merged commit 1e3f37e into main Feb 20, 2024
13 checks passed
@jkempster34 jkempster34 deleted the fix-incorrect-test branch February 20, 2024 13:03
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