Skip to content

Conversation

@EvgeniiaVak
Copy link
Contributor

Completes:
'I have added a tagline in Wordpress. Please use this as tagline instead of "Velkommen til Open Data DK"' from https://gitlab.com/datopian/ckan-next-gen/issues/121#final-round

Completes:
'I have added a tagline in Wordpress. Please use this as tagline instead of "Velkommen til Open Data DK"' from https://gitlab.com/datopian/ckan-next-gen/issues/121#final-round
'max-age=15552000' ]);

nock('https://public-api.wordpress.com:443', {"encodedQueryParams":true})
.get('/rest/v1.1/sites/https%3A%2F%2Foddk.home.blog%2F')
Copy link
Member

Choose a reason for hiding this comment

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

This should use mocked endpoint:

.get('/rest/v1.1/sites/http%3A%2F%2F127.0.0.1%3A6000%2F')

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If I run npm run test locally a lot of the tests fail, and Travis also was not satisfied with .get('/rest/v1.1/sites/http%3A%2F%2F127.0.0.1%3A6000%2F')

Copy link
Member

Choose a reason for hiding this comment

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

@EvgeniiaVak I guess if you remove trailing slash it might succeed:

.get('/rest/v1.1/sites/http%3A%2F%2F127.0.0.1%3A6000')

@anuveyatsu anuveyatsu merged commit c8ce4e8 into master Oct 29, 2019
@anuveyatsu anuveyatsu deleted the feature/wp-taglines branch October 29, 2019 07:27
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